This commit is contained in:
Kovid Goyal
2024-08-20 17:27:13 +05:30
parent 6d06415ec5
commit 2ac26b0e6d
5 changed files with 17 additions and 2 deletions

View File

@@ -26,6 +26,7 @@ func new_loop() *Loop {
l := Loop{controlling_term: nil}
l.terminal_options.Alternate_screen = true
l.terminal_options.restore_colors = true
l.terminal_options.in_band_resize_notification = true
l.terminal_options.kitty_keyboard_mode = DISAMBIGUATE_KEYS | REPORT_ALTERNATE_KEYS | REPORT_ALL_KEYS_AS_ESCAPE_CODES | REPORT_TEXT_WITH_KEYS
l.escape_code_parser.HandleCSI = l.handle_csi
l.escape_code_parser.HandleOSC = l.handle_osc