diff kitten: Fix default foreground/background colors not being restored when kitten quits. Fixes #637

This commit is contained in:
Kovid Goyal
2018-06-14 23:25:13 +05:30
parent 9f51506422
commit 82f9f002bd
6 changed files with 51 additions and 2 deletions

View File

@@ -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);