[hackers] [st] Fixing the menus in mc. || Christoph Lohmann

From: <git_AT_suckless.org>
Date: Sun, 27 Jan 2013 17:49:49 +0100

commit efd04ccad6d3c4e981b3efdb0423d8f5ca40f984
Author: Christoph Lohmann <20h_AT_r-36.net>
Date: Sun Jan 27 17:48:01 2013 +0100

    Fixing the menus in mc.

diff --git a/st.c b/st.c
index fa4136a..a1932dd 100644
--- a/st.c
+++ b/st.c
_AT_@ -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);
Received on Sun Jan 27 2013 - 17:49:49 CET

This archive was generated by hypermail 2.3.0 : Sun Jan 27 2013 - 18:00:07 CET