mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-06-25 02:17:03 +00:00
DRYer
This commit is contained in:
parent
ff2baf9122
commit
be772caeaf
1 changed files with 1 additions and 3 deletions
|
|
@ -185,9 +185,7 @@ screen_reset(Screen *self) {
|
|||
self->modes = empty_modes;
|
||||
self->saved_modes = empty_modes;
|
||||
self->active_hyperlink_id = 0;
|
||||
#define R(name) self->color_profile->overridden.name.val = 0
|
||||
R(default_fg); R(default_bg); R(cursor_color); R(highlight_fg); R(highlight_bg);
|
||||
#undef R
|
||||
zero_at_ptr(&self->color_profile->overridden);
|
||||
reset_vt_parser(self->vt_parser);
|
||||
zero_at_ptr(&self->charset);
|
||||
self->margin_top = 0; self->margin_bottom = self->lines - 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue