diff options
author | Jesse Luehrs <doy@tozt.net> | 2014-10-20 22:25:52 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2014-10-20 22:25:52 -0400 |
commit | 71ddc90f1a0f62a22edf63334321d66e7f0467ad (patch) | |
tree | c6173e1c2f5f3dcbaa5cf86fef554a75d805b2c8 /src/parser.l | |
parent | b300a2e43087400eaaf112de7e7cbf3d248a0dc5 (diff) | |
download | libvt100-71ddc90f1a0f62a22edf63334321d66e7f0467ad.tar.gz libvt100-71ddc90f1a0f62a22edf63334321d66e7f0467ad.zip |
move_to already handles the horizontal case properly
Diffstat (limited to 'src/parser.l')
-rw-r--r-- | src/parser.l | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/parser.l b/src/parser.l index c9f9545..d64df1c 100644 --- a/src/parser.l +++ b/src/parser.l @@ -428,9 +428,6 @@ static void vt100_parser_handle_cup(VT100Screen *vt, char *buf, size_t len) if (params[0] > vt->grid->max.row) { params[0] = vt->grid->max.row; } - if (params[1] > vt->grid->max.col) { - params[1] = vt->grid->max.col; - } vt100_screen_move_to(vt, params[0] - 1, params[1] - 1); } |