forked from enlightenment/terminology
reflow: move cursor line when horizontally expanding
This commit is contained in:
parent
25928a31b4
commit
f810600875
|
@ -707,6 +707,11 @@ expand_screen:
|
|||
}
|
||||
}
|
||||
}
|
||||
if (y < old_h)
|
||||
{
|
||||
ty->state.cy -= old_h - y;
|
||||
if (ty->state.cy < 0) ty->state.cy = 0;
|
||||
}
|
||||
#undef OLD_SCREEN
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue