From: Christoph Lohmann <20h@r-36.net> Date: Sun, 27 Jan 2013 16:48:01 +0000 (+0100) Subject: Fixing the menus in mc. X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=efd04ccad6d3c4e981b3efdb0423d8f5ca40f984;p=st.git Fixing the menus in mc. --- 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 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 char */ DEFAULT(csiescseq.arg[0], 1);