mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-23 00:38:10 +02:00
diff kitten: Fix default foreground/background colors not being restored when kitten quits. Fixes #637
This commit is contained in:
@@ -1264,6 +1264,16 @@ screen_handle_cmd(Screen *self, PyObject *cmd) {
|
||||
CALLBACK("handle_remote_cmd", "O", cmd);
|
||||
}
|
||||
|
||||
void
|
||||
screen_push_dynamic_colors(Screen *self) {
|
||||
colorprofile_push_dynamic_colors(self->color_profile);
|
||||
}
|
||||
|
||||
void
|
||||
screen_pop_dynamic_colors(Screen *self) {
|
||||
colorprofile_pop_dynamic_colors(self->color_profile);
|
||||
}
|
||||
|
||||
void
|
||||
screen_handle_print(Screen *self, PyObject *msg) {
|
||||
CALLBACK("handle_remote_print", "O", msg);
|
||||
|
||||
Reference in New Issue
Block a user