fix: End goes to the end of the current rendered text row.

This commit is contained in:
jmug
2026-11-19 18:32:18 -08:00
parent 07ad789f65
commit bdf359e2ff
+2 -1
View File
@@ -460,7 +460,8 @@ void editorProcessKeypress() {
E.cx = 0;
break;
case END_KEY:
E.cx = E.screencols - 1;
if (E.cy < E.numrows)
E.cx = E.row[E.cy].size;
break;
case PAGE_UP: