Browse Source

Fixing the menus in mc.

Christoph Lohmann 12 năm trước cách đây
mục cha
commit
efd04ccad6
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      st.c

+ 2 - 2
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);