tFix cursor placement in screen UI uistatus - sacc - sacc (saccomys): simple gopher client.
Log
Files
Refs
LICENSE
---
commit 795273efd4ce345d72749d61e1a9be5c978aba73
parent 723df46be763ef55707fd3c63c8f70b0920ff17b
Author: Quentin Rameau 
Date:   Sat, 21 Oct 2017 13:47:09 +0200

Fix cursor placement in screen UI uistatus

Diffstat:
  ui_ti.c                             |       2 ++

1 file changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/ui_ti.c b/ui_ti.c
t@@ -67,6 +67,8 @@ uiprompt(char *fmt, ...)
 
         printf("%*s", columns-r, " ");
 
+        putp(tparm(cursor_address, lines-1, r));
+
         tsacc.c_lflag |= (ECHO|ICANON);
         tcsetattr(0, TCSANOW, &tsacc);
         fflush(stdout);