Don't capture space-key events when typing, to allow using space characters in the search

pull/170/head
Thibaut 10 years ago
parent 499b7d95a8
commit bbf629255c

@ -47,6 +47,7 @@ class app.Shortcuts
when 27
@trigger 'escape'
when 32
if not @lastKeypress or @lastKeypress < Date.now() - 1000
@trigger 'pageDown'
false
when 33
@ -127,3 +128,5 @@ class app.Shortcuts
if event.which is 63 and not event.target.value
@trigger 'help'
false
else
@lastKeypress = Date.now()

Loading…
Cancel
Save