st

fork of suckless's simple terminal
Index Commits Files Refs README LICENSE
commit 6e88c7f60206275a5378521ef5d3dd96b0b09f36
parent 59fe59d3d1f922ec3a99c758e54ab88cfdf939be
Author: Christoph Lohmann <20h@r-36.net>
Date:   Tue,  4 Sep 2012 21:56:55 +0200

CUP == HVP; CHA == HPA;

Diffstat:
Mst.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/st.c b/st.c
@@ -1322,12 +1322,12 @@ csihandle(void) {
         }
         break;
     case 'G': /* CHA -- Move to <col> */
-    case '`': /* XXX: HPA -- same? */
+    case '`': /* HPA */
         DEFAULT(csiescseq.arg[0], 1);
         tmoveto(csiescseq.arg[0]-1, term.c.y);
         break;
     case 'H': /* CUP -- Move to <row> <col> */
-    case 'f': /* XXX: HVP -- same? */
+    case 'f': /* HVP */
         DEFAULT(csiescseq.arg[0], 1);
         DEFAULT(csiescseq.arg[1], 1);
         tmoveto(csiescseq.arg[1]-1, csiescseq.arg[0]-1);