- In certain terminals, nano would not work properly with keypad().
Turned out to be the silly timeout(0) call which is completely
unneeded anyway. (49) [FIXED]
+- With less than a page of text, doing a page down will move the
+ current line to the top of the screen, which it shouldn't do. (50)
+ [FIXED]
** Open BUGS **
if (current == filebot)
return 0;
- if (editbot != filebot || edittop == fileage) {
+ /* AHEM, if we only have a screen or less of text, DONT do an
+ edit_update, just move the cursor to editbot! */
+ if (edittop == fileage && editbot == filebot) {
+ current = editbot;
+ reset_cursor();
+ } else if (editbot != filebot || edittop == fileage) {
current_y = 0;
current = editbot;