From: Michael D. Lowis Date: Sun, 2 Apr 2017 18:51:36 +0000 (-0400) Subject: don't reset the cursor to zero when setext is called X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=7dddad3d7ce0d6b2619ba50d09dd24376e9cb4c3;p=projs%2Ftide.git don't reset the cursor to zero when setext is called --- diff --git a/lib/win.c b/lib/win.c index 1d492de..69aa0c2 100644 --- a/lib/win.c +++ b/lib/win.c @@ -76,7 +76,6 @@ void win_settext(WinRegion id, char* text) { view_putstr(view, text); view_selprev(view); // clear the selection buf_logclear(&(view->buffer)); - view->selection = (Sel){0,0,0}; } void win_setruler(size_t ruler) {