aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorStephen Blott2015-01-01 12:02:16 +0000
committerStephen Blott2015-01-01 16:22:47 +0000
commit2d047e7ee7e77a02ccb29658ada953a092cee20a (patch)
tree9dee44c265595c4864376fd2c736c4cab2508739 /lib
parentaed5e2b5e1015a2e581edadbc5dd2d1b5a2719f4 (diff)
downloadvimium-2d047e7ee7e77a02ccb29658ada953a092cee20a.tar.bz2
Modes; implement insert mode.
Diffstat (limited to 'lib')
-rw-r--r--lib/handler_stack.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/handler_stack.coffee b/lib/handler_stack.coffee
index 886a9ece..6f599dc7 100644
--- a/lib/handler_stack.coffee
+++ b/lib/handler_stack.coffee
@@ -7,7 +7,7 @@ class HandlerStack
@counter = 0
@passThrough = new Object() # Used only as a constant, distinct from any other value.
- genId: -> @counter = ++@counter & 0xffff
+ genId: -> @counter = ++@counter
# Adds a handler to the stack. Returns a unique ID for that handler that can be used to remove it later.
push: (handler) ->