summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Lohmann2013-01-27 17:48:01 +0100
committerChristoph Lohmann2013-01-27 17:48:01 +0100
commitefd04ccad6d3c4e981b3efdb0423d8f5ca40f984 (patch)
tree4f1c71e68cc3d505c264d8d884cebe1964cabda9
parent26c101b70671d1adbdd4e31af70502605fe3ebbf (diff)
downloadst-efd04ccad6d3c4e981b3efdb0423d8f5ca40f984.tar.gz
st-efd04ccad6d3c4e981b3efdb0423d8f5ca40f984.tar.xz
st-efd04ccad6d3c4e981b3efdb0423d8f5ca40f984.zip
Fixing the menus in mc.
-rw-r--r--st.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/st.c b/st.c
index fa4136a..a1932dd 100644
--- a/st.c
+++ b/st.c
@@ -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);