From 93a7aa324ae9670eed46044431be0b62961889f0 Mon Sep 17 00:00:00 2001 From: "Adam D. Ruppe" Date: Sat, 10 Nov 2018 14:44:28 -0500 Subject: [PATCH] hide bouncing cursor (affects Windows) --- terminal.d | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/terminal.d b/terminal.d index d4d31a8..0612d68 100644 --- a/terminal.d +++ b/terminal.d @@ -3132,6 +3132,11 @@ class LineGetter { private int lastDrawLength = 0; void redraw() { + terminal.hideCursor(); + scope(exit) { + terminal.flush(); + terminal.showCursor(); + } terminal.moveTo(startOfLineX, startOfLineY); auto lineLength = availableLineLength();