term_reset: log hard vs. soft reset

This commit is contained in:
Daniel Eklöf 2023-10-04 08:23:27 +02:00
parent 5e1d73f3cd
commit 33a5a369f2
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

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