unexist.dev

Changeset 123:1c1b446540e4

Fixed handling of space key
author unexist
date Mon, 29 Oct 2012 13:31:16 +0100
parents 0d55a0ac1f0c
children 3f7e34939016
files ruby/selector.rb
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ruby/selector.rb	Mon Oct 29 13:26:54 2012 +0100
+++ b/ruby/selector.rb	Mon Oct 29 13:31:16 2012 +0100
@@ -187,6 +187,8 @@
 
               @current = clients[idx]
             end # }}}
+          when :space # {{{
+            @buffer << " " # }}}
           else # {{{
             str = key.to_s