mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-09 13:45:26 +02:00
Implement changing cursor shape
This commit is contained in:
@@ -157,3 +157,9 @@ DECSTBM = b"r"
|
||||
|
||||
#: *Horizontal position adjust*: Same as :data:`CHA`.
|
||||
HPA = b"'"
|
||||
|
||||
|
||||
# Misc sequences
|
||||
|
||||
#: Change cursor shape/blink
|
||||
DECSCUSR = b'q'
|
||||
|
||||
@@ -119,7 +119,8 @@ class Stream(object):
|
||||
esc.SGR: "select_graphic_rendition",
|
||||
esc.DSR: "report_device_status",
|
||||
esc.DECSTBM: "set_margins",
|
||||
esc.HPA: "cursor_to_column"
|
||||
esc.HPA: "cursor_to_column",
|
||||
esc.DECSCUSR: 'set_cursor_shape',
|
||||
}
|
||||
|
||||
#: A set of all events dispatched by the stream.
|
||||
|
||||
Reference in New Issue
Block a user