Remove unused code

This commit is contained in:
Kovid Goyal 2017-12-03 17:53:43 +05:30
parent b191727567
commit c95418a947
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C
2 changed files with 1 additions and 5 deletions

View file

@ -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'

View file

@ -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')