diff --git a/eventloop.d b/eventloop.d index c7445e7..189d4e2 100644 --- a/eventloop.d +++ b/eventloop.d @@ -671,6 +671,9 @@ private int[2] pipes; makeNonBlocking(pipes[1]); } +// FIXME: maybe I should reset all the handles too when new thigns are opened +// so like listeners = null, etc. + // you shouldn't have to call this void closeEventPipes() { unix.close(pipes[0]); diff --git a/terminal.d b/terminal.d index b2233f3..9e4f668 100644 --- a/terminal.d +++ b/terminal.d @@ -2693,6 +2693,7 @@ class LineGetter { } updateCursorPosition(); + terminal.showCursor(); redraw(); } @@ -2916,6 +2917,8 @@ class LineGetter { auto history = historyFilter(f); if(history !is null) this.history ~= history; + + // FIXME: we should hide the cursor if it was hidden in the call to startGettingLine return f; } }