X-Git-Url: https://jasonwoof.com/gitweb/?p=st.git;a=blobdiff_plain;f=st.c;h=f67a3453fb5aa833f1b291eaf23010eb1a4d1e09;hp=657fba7309c1d8839a89c2c037256ff24f525a3b;hb=d5b80e05e8df29b989c072b6529745576056d0bc;hpb=5260a9ea2249b9159c188a6e27a39a38d131e411 diff --git a/st.c b/st.c index 657fba7..f67a345 100644 --- a/st.c +++ b/st.c @@ -1562,11 +1562,11 @@ csihandle(void) { tinsertblank(csiescseq.arg[0]); break; case 'A': /* CUU -- Cursor Up */ - case 'e': DEFAULT(csiescseq.arg[0], 1); tmoveto(term.c.x, term.c.y-csiescseq.arg[0]); break; case 'B': /* CUD -- Cursor Down */ + case 'e': /* VPR --Cursor Down */ DEFAULT(csiescseq.arg[0], 1); tmoveto(term.c.x, term.c.y+csiescseq.arg[0]); break; @@ -1575,7 +1575,7 @@ csihandle(void) { ttywrite(VT102ID, sizeof(VT102ID) - 1); break; case 'C': /* CUF -- Cursor Forward */ - case 'a': + case 'a': /* HPR -- Cursor Forward */ DEFAULT(csiescseq.arg[0], 1); tmoveto(term.c.x+csiescseq.arg[0], term.c.y); break;