mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-26 18:22:09 +02:00
Fix enter/tab/backspace not being reported in all keys mode
This commit is contained in:
@@ -437,6 +437,9 @@ class TestKeys(BaseTest):
|
||||
ae(kq(ord('a'), mods=ctrl), csi(ctrl, num='a'))
|
||||
ae(kq(defines.GLFW_FKEY_UP), '\x1b[A')
|
||||
ae(kq(defines.GLFW_FKEY_LEFT_SHIFT), csi(num=defines.GLFW_FKEY_LEFT_SHIFT))
|
||||
ae(kq(defines.GLFW_FKEY_ENTER), '\x1b[13u')
|
||||
ae(kq(defines.GLFW_FKEY_TAB), '\x1b[9u')
|
||||
ae(kq(defines.GLFW_FKEY_BACKSPACE), '\x1b[127u')
|
||||
|
||||
# test embed text
|
||||
eq = partial(enc, key_encoding_flags=0b11000)
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
# License: GPL v3 Copyright: 2018, Kovid Goyal <kovid at kovidgoyal.net>
|
||||
|
||||
from kitty.config import defaults
|
||||
from kitty.constants import WindowGeometry
|
||||
from kitty.types import WindowGeometry
|
||||
from kitty.layout.interface import Grid, Horizontal, Splits, Stack, Tall
|
||||
from kitty.window import EdgeWidths
|
||||
from kitty.window_list import WindowList, reset_group_id_counter
|
||||
|
||||
Reference in New Issue
Block a user