mirror of
https://github.com/tmux/tmux.git
synced 2025-12-21 14:56:05 +00:00
Add mode 2031 support (automatic dark/light mode).
Co-Author: Nicholas Marriott <nicholas.marriott@gmail.com>
This commit is contained in:
@@ -307,6 +307,12 @@ static struct input_key_entry input_key_defaults[] = {
|
||||
{ .key = KEYC_DC|KEYC_BUILD_MODIFIERS,
|
||||
.data = "\033[3;_~"
|
||||
},
|
||||
{ .key = KEYC_REPORT_DARK_THEME,
|
||||
.data = "\033[?997;1n"
|
||||
},
|
||||
{ .key = KEYC_REPORT_LIGHT_THEME,
|
||||
.data = "\033[?997;2n"
|
||||
},
|
||||
};
|
||||
static const key_code input_key_modifiers[] = {
|
||||
0,
|
||||
|
||||
Reference in New Issue
Block a user