Only log an error about modifyOtherKeys if the application attempts to turn it on without first turning on the kitty keyboard protocol

This commit is contained in:
Kovid Goyal
2025-01-16 20:30:09 +05:30
parent 0ffaaff8a7
commit 0ecbc2b786
3 changed files with 12 additions and 5 deletions

View File

@@ -277,6 +277,7 @@ void screen_set_key_encoding_flags(Screen *self, uint32_t val, uint32_t how);
void screen_push_key_encoding_flags(Screen *self, uint32_t val);
void screen_pop_key_encoding_flags(Screen *self, uint32_t num);
uint8_t screen_current_key_encoding_flags(Screen *self);
void screen_modify_other_keys(Screen *self, unsigned int);
void screen_report_key_encoding_flags(Screen *self);
int screen_detect_url(Screen *screen, unsigned int x, unsigned int y);
int screen_cursor_at_a_shell_prompt(const Screen *);