Fix animations getting paused when switching to alternate screen and back

This commit is contained in:
Kovid Goyal 2021-12-21 08:24:43 +05:30
parent 57888af4ea
commit b59e42c9cc
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -960,6 +960,7 @@ screen_toggle_screen_buffer(Screen *self, bool save_cursor, bool clear_alt_scree
screen_history_scroll(self, SCROLL_FULL, false);
self->is_dirty = true;
clear_selection(&self->selections);
global_state.check_for_active_animated_images = true;
}
void screen_normal_keypad_mode(Screen UNUSED *self) {} // Not implemented as this is handled by the GUI