vte: set AUTO_WRAP mode on reset for console object
We reset all modes but forget to set them on the console object, too. The AUTO_WRAP mode is the only mode that matters here, so we can ignore the other modes. Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
This commit is contained in:
parent
10969bdc6e
commit
37ebf53cd5
@ -302,6 +302,7 @@ void kmscon_vte_reset(struct kmscon_vte *vte)
|
||||
vte->flags |= FLAG_SEND_RECEIVE_MODE;
|
||||
vte->flags |= FLAG_AUTO_WRAP_MODE;
|
||||
kmscon_console_reset_flags(vte->con, ~0);
|
||||
kmscon_console_set_flags(vte->con, KMSCON_CONSOLE_AUTO_WRAP);
|
||||
|
||||
kmscon_utf8_mach_reset(vte->mach);
|
||||
vte->state = STATE_GROUND;
|
||||
|
Loading…
x
Reference in New Issue
Block a user