Skip to content

Commit b9058b2

Browse files
committed
Add kitty keyboard protocol to keyboard_input
1 parent e409353 commit b9058b2

6 files changed

Lines changed: 713 additions & 117 deletions

File tree

gambaterm/colors.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@ def detect_true_color_support(app_session: AppSession, timeout: float = 0.1) ->
8282
app_session.output.write_raw("\033P$qm\033\\")
8383
# Reset
8484
app_session.output.write_raw("\033[m")
85+
# Query primary device attributes
86+
app_session.output.write_raw("\033[c")
8587
# Flush
8688
app_session.output.flush()
8789
# Wait for reply

0 commit comments

Comments
 (0)