This commit is contained in:
Boris Faure 2014-01-22 23:19:11 +01:00
parent 4602641ac0
commit ab9243b94f
1 changed files with 1 additions and 1 deletions

View File

@ -427,7 +427,7 @@ _handle_esc_csi(Termpty *ty, const Eina_Unicode *c, Eina_Unicode *ce)
arg = _csi_arg_get(&b);
if (arg < 1) arg = 1;
arg--;
else if (arg >= ty->h) arg = ty->h - 1;
if (arg >= ty->h) arg = ty->h - 1;
if (b)
{
ty->state.cy = arg;