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