Fixing the menus in mc.

master
Christoph Lohmann 2013-01-27 17:48:01 +01:00
parent 26c101b706
commit efd04ccad6
1 changed files with 2 additions and 2 deletions

4
st.c
View File

@ -1745,8 +1745,8 @@ csihandle(void) {
break;
case 'X': /* ECH -- Erase <n> char */
DEFAULT(csiescseq.arg[0], 1);
tclearregion(term.c.x, term.c.y, term.c.x + csiescseq.arg[0],
term.c.y, 1);
tclearregion(term.c.x, term.c.y,
term.c.x + csiescseq.arg[0] - 1, term.c.y, 1);
break;
case 'P': /* DCH -- Delete <n> char */
DEFAULT(csiescseq.arg[0], 1);