mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 15:36:21 -04:00
git-effort: restore normal (visible) cursor properly
If I understand GNU* correctly, cnorm should be used to undo `civis` (make invisible). `cvvis` is just another abnormal mode, namely "very visible". *) https://www.gnu.org/software/termutils/manual/termutils-2.0/html_chapter/tput_1.html
This commit is contained in:
parent
78835c7525
commit
af39b2b2ee
|
|
@ -39,7 +39,7 @@ hide_cursor() {
|
|||
#
|
||||
|
||||
show_cursor_and_cleanup() {
|
||||
tputq cvvis
|
||||
tputq cnorm
|
||||
tputq sgr0
|
||||
rm "$tmp" > /dev/null 2>&1
|
||||
exit 0
|
||||
|
|
|
|||
Loading…
Reference in a new issue