diff options
Diffstat (limited to 'common/content')
-rw-r--r-- | common/content/events.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/common/content/events.js b/common/content/events.js index 5d76c2dd..f2898887 100644 --- a/common/content/events.js +++ b/common/content/events.js @@ -1547,7 +1547,7 @@ function Events() //{{{ || (/^[0-9]$/.test(key) && !hints.escNumbers)) { hints.onEvent(event); - input.buffer = null; + input.buffer = ""; return void killEvent(); } @@ -1674,8 +1674,7 @@ function Events() //{{{ finally { let motionMap = (input.pendingMotionMap && input.pendingMotionMap.names[0]) || ""; - if (input.buffer !== null) - statusline.updateInputBuffer(motionMap + input.buffer); + statusline.updateInputBuffer(motionMap + input.buffer); } }, |