mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-16 22:05:21 -05:00
term_reset: log hard vs. soft reset
This commit is contained in:
parent
5e1d73f3cd
commit
33a5a369f2
1 changed files with 2 additions and 0 deletions
|
|
@ -1848,6 +1848,8 @@ erase_line(struct terminal *term, struct row *row)
|
|||
void
|
||||
term_reset(struct terminal *term, bool hard)
|
||||
{
|
||||
LOG_INFO("%s resetting the terminal", hard ? "hard" : "soft");
|
||||
|
||||
term->cursor_keys_mode = CURSOR_KEYS_NORMAL;
|
||||
term->keypad_keys_mode = KEYPAD_NUMERICAL;
|
||||
term->reverse = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue