mirror of
https://github.com/bobbimanners/emailler.git
synced 2025-01-31 00:31:00 +00:00
Revert "Fixed corner case in cursor_right()"
This reverts commit 50a304d5efafde3de9cfe23dcf41dc938008e394.
This commit is contained in:
parent
50a304d5ef
commit
f87ec0fca7
@ -1,6 +1,6 @@
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Prototype of text editor
|
||||
// Bobbi July-Aug 2020
|
||||
// Bobbi July 2020
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Note: Use my fork of cc65 to get a flashing cursor!!
|
||||
@ -802,7 +802,7 @@ void cursor_right(void) {
|
||||
return;
|
||||
}
|
||||
++curscol;
|
||||
if ((curscol == rowlen[cursrow]) && (gapbuf[gapbegin - 1] == '\r')) {
|
||||
if (curscol == rowlen[cursrow]) {
|
||||
if (cursrow == NROWS - 1)
|
||||
scroll_down();
|
||||
++cursrow;
|
||||
|
Loading…
x
Reference in New Issue
Block a user