@@ -46,20 +46,20 @@ def __delitem__(self, key):
4646 def __setitem__ (self , key , value ):
4747 self .map [key ] = value
4848
49- cli_key_dispatch = KeyMap (tuple ())
49+ key_dispatch = KeyMap (tuple ())
5050
5151# fill dispatch with letters
5252for c in string .ascii_lowercase :
53- cli_key_dispatch ['C-%s' % c ] = (chr (string .ascii_lowercase .index (c ) + 1 ),
53+ key_dispatch ['C-%s' % c ] = (chr (string .ascii_lowercase .index (c ) + 1 ),
5454 '^%s' % c .upper ())
5555
5656# fill dispatch with cool characters
57- cli_key_dispatch ['C-[' ] = (chr (27 ), '^[' )
58- cli_key_dispatch ['C-\\ ' ] = (chr (28 ), '^\\ ' )
59- cli_key_dispatch ['C-]' ] = (chr (29 ), '^]' )
60- cli_key_dispatch ['C-^' ] = (chr (30 ), '^^' )
61- cli_key_dispatch ['C-_' ] = (chr (31 ), '^_' )
57+ key_dispatch ['C-[' ] = (chr (27 ), '^[' )
58+ key_dispatch ['C-\\ ' ] = (chr (28 ), '^\\ ' )
59+ key_dispatch ['C-]' ] = (chr (29 ), '^]' )
60+ key_dispatch ['C-^' ] = (chr (30 ), '^^' )
61+ key_dispatch ['C-_' ] = (chr (31 ), '^_' )
6262
6363# fill dispatch with function keys
6464for x in xrange (1 , 13 ):
65- cli_key_dispatch ['F%s' % str (x )] = ('KEY_F(%s)' % str (x ),)
65+ key_dispatch ['F%s' % str (x )] = ('KEY_F(%s)' % str (x ),)
0 commit comments