mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-05-08 05:28:01 +02:00
ply-terminal-emulator: cleanup dead code
This commit is contained in:
parent
a58e582c7c
commit
13616729e6
1 changed files with 0 additions and 10 deletions
|
|
@ -110,8 +110,6 @@ struct _ply_terminal_emulator
|
|||
|
||||
ply_rich_text_t *current_line;
|
||||
ply_rich_text_character_style_t current_style;
|
||||
|
||||
uint32_t default_colors_forced : 1;
|
||||
};
|
||||
|
||||
typedef ply_terminal_emulator_break_string_t (*ply_terminal_emulator_dispatch_handler_t)();
|
||||
|
|
@ -159,8 +157,6 @@ ply_terminal_emulator_new (size_t maximum_line_count)
|
|||
terminal_emulator->current_style.underline_enabled = false;
|
||||
terminal_emulator->current_style.reverse_enabled = false;
|
||||
|
||||
terminal_emulator->default_colors_forced = false;
|
||||
|
||||
return terminal_emulator;
|
||||
}
|
||||
|
||||
|
|
@ -1221,12 +1217,6 @@ ply_terminal_emulator_parse_substring (ply_terminal_emulator_t *terminal_emulato
|
|||
if (terminal_emulator->break_action == PLY_TERMINAL_EMULATOR_BREAK_STRING_ACTION_RESET_CURSOR_COLUMN)
|
||||
terminal_emulator->cursor_column = 0;
|
||||
|
||||
if (terminal_emulator->default_colors_forced == true) {
|
||||
terminal_emulator->default_colors_forced = false;
|
||||
terminal_emulator->current_style.foreground_color = PLY_TERMINAL_COLOR_DEFAULT;
|
||||
terminal_emulator->current_style.background_color = PLY_TERMINAL_COLOR_DEFAULT;
|
||||
}
|
||||
|
||||
terminal_emulator->current_line = NULL;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue