commit 934db72ada20899709343e959debcefea2719eda
parent 98bec6e1d7d136570a47e5547ab2c7face3ca90c
Author: in0rdr <andreas.gruhler@uzh.ch>
Date: Fri, 18 Nov 2016 10:02:43 +0800
Fix cursor visibility after edit
Thanks to lolidaisuki (http://bit.ly/2fBrdZh) for the fix.
Diffstat:
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/diary.c b/diary.c
@@ -227,9 +227,11 @@ int main(int argc, char** argv)
ret = go_to(cal, aside, raw_time, &pad_pos);
break;
case 'e':
- if (ecmd)
+ if (ecmd) {
+ curs_set(1);
system(ecmd);
- curs_set(0);
+ curs_set(0);
+ }
break;
}