Repositories
/
curblaster.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3dface
)
Use curs_set(3) in stable_getch() to disable/enable visible cursor.
author
Matthew Mondor
<mmondor@pulsar-zone.net>
Thu, 6 Apr 2023 04:16:36 +0000
(
04:16
+0000)
committer
Matthew Mondor
<mmondor@pulsar-zone.net>
Thu, 6 Apr 2023 04:16:36 +0000
(
04:16
+0000)
src/main.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/main.cpp
b/src/main.cpp
index
fa6043a
..
75dd62f
100644
(file)
--- a/
src/main.cpp
+++ b/
src/main.cpp
@@
-148,6
+148,7
@@
stable_getch(void)
{
int c;
+ (void)curs_set(0);
(void)keypad(win, TRUE);
(void)timeout(-1);
@@
-158,6
+159,7
@@
stable_getch(void)
c = uc;
uc = ERR;
+ (void)curs_set(1);
return c;
}