termpty: on reset, no longer restrict cursor

This commit is contained in:
Boris Faure 2017-06-01 21:34:01 +02:00
parent 8168b019c9
commit 6c750c660c
1 changed files with 1 additions and 0 deletions

View File

@ -401,6 +401,7 @@ termpty_reset_state(Termpty *ty)
ty->termstate.bottom_margin = 0;
ty->termstate.had_cr_x = 0;
ty->termstate.had_cr_y = 0;
ty->termstate.restrict_cursor = 0;
termpty_reset_att(&(ty->termstate.att));
ty->termstate.charset = 0;
ty->termstate.charsetch = 'B';