Merge branch 'obsd-master'

This commit is contained in:
Thomas Adam 2018-10-31 12:02:38 +00:00
commit b1ad075d11

View File

@ -144,8 +144,7 @@ screen_write_reset(struct screen_write_ctx *ctx)
screen_reset_tabs(s); screen_reset_tabs(s);
screen_write_scrollregion(ctx, 0, screen_size_y(s) - 1); screen_write_scrollregion(ctx, 0, screen_size_y(s) - 1);
s->mode &= ~(MODE_INSERT|MODE_KCURSOR|MODE_KKEYPAD|MODE_FOCUSON); s->mode = MODE_CURSOR | MODE_WRAP;
s->mode &= ~(ALL_MOUSE_MODES|MODE_MOUSE_UTF8|MODE_MOUSE_SGR);
screen_write_clearscreen(ctx, 8); screen_write_clearscreen(ctx, 8);
screen_write_cursormove(ctx, 0, 0); screen_write_cursormove(ctx, 0, 0);