mirror of https://github.com/adamdruppe/arsd.git
hide bouncing cursor (affects Windows)
This commit is contained in:
parent
d03a2d4a44
commit
93a7aa324a
|
@ -3132,6 +3132,11 @@ class LineGetter {
|
||||||
|
|
||||||
private int lastDrawLength = 0;
|
private int lastDrawLength = 0;
|
||||||
void redraw() {
|
void redraw() {
|
||||||
|
terminal.hideCursor();
|
||||||
|
scope(exit) {
|
||||||
|
terminal.flush();
|
||||||
|
terminal.showCursor();
|
||||||
|
}
|
||||||
terminal.moveTo(startOfLineX, startOfLineY);
|
terminal.moveTo(startOfLineX, startOfLineY);
|
||||||
|
|
||||||
auto lineLength = availableLineLength();
|
auto lineLength = availableLineLength();
|
||||||
|
|
Loading…
Reference in New Issue