parent
f5743f4610
commit
160fbd2071
@ -71,6 +71,8 @@ Changelog
|
|||||||
- Fix :kbd:`ctrl+shift+special` key not working in normal and application keyboard
|
- Fix :kbd:`ctrl+shift+special` key not working in normal and application keyboard
|
||||||
modes (:iss:`1114`)
|
modes (:iss:`1114`)
|
||||||
|
|
||||||
|
- Add a terminfo entry for full keyboard mode.
|
||||||
|
|
||||||
0.12.3 [2018-09-29]
|
0.12.3 [2018-09-29]
|
||||||
------------------------------
|
------------------------------
|
||||||
|
|
||||||
|
|||||||
@ -141,6 +141,8 @@ For example::
|
|||||||
This encoding means each key event is represented by 8 or 9 printable ascii
|
This encoding means each key event is represented by 8 or 9 printable ascii
|
||||||
only bytes, for maximum robustness.
|
only bytes, for maximum robustness.
|
||||||
|
|
||||||
|
Support for this mode is indicated by the ``fullkbd`` boolean capability
|
||||||
|
in the terminfo database, in case querying for it via DECQRM is inconvenient.
|
||||||
|
|
||||||
.. _ext_styles:
|
.. _ext_styles:
|
||||||
|
|
||||||
|
|||||||
@ -37,6 +37,10 @@ bool_capabilities = {
|
|||||||
# described at:
|
# described at:
|
||||||
# https://github.com/kovidgoyal/kitty/blob/master/protocol-extensions.asciidoc
|
# https://github.com/kovidgoyal/kitty/blob/master/protocol-extensions.asciidoc
|
||||||
'Su',
|
'Su',
|
||||||
|
# Indicates support for full keyboard mode (non-standard) as
|
||||||
|
# described at:
|
||||||
|
# https://github.com/kovidgoyal/kitty/blob/master/protocol-extensions.asciidoc
|
||||||
|
'fullkbd',
|
||||||
|
|
||||||
# The following are entries that we don't use
|
# The following are entries that we don't use
|
||||||
# # background color erase
|
# # background color erase
|
||||||
@ -432,7 +436,7 @@ termcap_aliases.update({
|
|||||||
queryable_capabilities = numeric_capabilities.copy()
|
queryable_capabilities = numeric_capabilities.copy()
|
||||||
queryable_capabilities.update(string_capabilities)
|
queryable_capabilities.update(string_capabilities)
|
||||||
extra = (bool_capabilities | numeric_capabilities.keys() | string_capabilities.keys()) - set(termcap_aliases.values())
|
extra = (bool_capabilities | numeric_capabilities.keys() | string_capabilities.keys()) - set(termcap_aliases.values())
|
||||||
no_termcap_for = frozenset('Su Tc setrgbf setrgbb'.split())
|
no_termcap_for = frozenset('Su Tc setrgbf setrgbb fullkbd'.split())
|
||||||
if extra - no_termcap_for:
|
if extra - no_termcap_for:
|
||||||
raise Exception('Termcap aliases not complete, missing: {}'.format(extra - no_termcap_for))
|
raise Exception('Termcap aliases not complete, missing: {}'.format(extra - no_termcap_for))
|
||||||
del extra
|
del extra
|
||||||
|
|||||||
Binary file not shown.
@ -3,6 +3,7 @@ xterm-kitty|KovIdTTY,
|
|||||||
Tc,
|
Tc,
|
||||||
am,
|
am,
|
||||||
ccc,
|
ccc,
|
||||||
|
fullkbd,
|
||||||
hs,
|
hs,
|
||||||
km,
|
km,
|
||||||
mc5i,
|
mc5i,
|
||||||
|
|||||||
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user