Remove unused code
This commit is contained in:
parent
b191727567
commit
c95418a947
2 changed files with 1 additions and 5 deletions
|
|
@ -105,10 +105,6 @@ def modify_complex_key(name, amt):
|
|||
cursor_key_mode_map = {True: smkx_key_map, False: rmkx_key_map}
|
||||
|
||||
|
||||
def get_key_map(screen):
|
||||
return cursor_key_mode_map[screen.cursor_key_mode]
|
||||
|
||||
|
||||
def keyboard_mode_name(screen):
|
||||
if screen.extended_keyboard:
|
||||
return 'kitty'
|
||||
|
|
|
|||
|
|
@ -221,7 +221,7 @@ def test_sc81t(self):
|
|||
pb('\033 G', ('screen_set_8bit_controls', 1))
|
||||
c = s.callbacks
|
||||
pb('\033P$qm\033\\', ('screen_request_capabilities', ord('$'), 'm'))
|
||||
self.ae(c.wtcbuf, b'\x901$r0m\x9c')
|
||||
self.ae(c.wtcbuf, b'\x901$rm\x9c')
|
||||
c.clear()
|
||||
pb('\033[0c', ('report_device_attributes', 0, 0))
|
||||
self.ae(c.wtcbuf, b'\x9b?62;c')
|
||||
|
|
|
|||
Loading…
Reference in a new issue