+2002-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
+
+ * screen.C (fitManualCursor): add delay if we have a selection
+ going
+ (fitCursor): ditto
+
2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
* several files: ws changes
if (newtop != text->first_y) {
draw(text, bv, newtop);
text->first_y = newtop;
+ // Make the screen not scroll too fast when
+ // we have a selection.
+ if (text->selection.set())
+ usleep(200000);
return true;
}
+
return false;
}
// Is a change necessary?
int const newtop = topCursorVisible(text->cursor, text->first_y);
bool const result = (newtop != text->first_y);
- if (result)
+ if (result) {
draw(text, bv, newtop);
+ // Make the screen not scroll too fast when
+ // we have a selection.
+ if (text->selection.set())
+ usleep(200000);
+ }
+
return result;
}