Merge pull request #675 from quite/effort-cursor

git-effort: restore normal (visible) cursor properly
This commit is contained in:
罗泽轩 2017-10-27 20:18:47 +08:00 committed by GitHub
commit 9573a7653b

View file

@ -39,7 +39,7 @@ hide_cursor() {
#
show_cursor_and_cleanup() {
tputq cvvis
tputq cnorm
tputq sgr0
rm "$tmp" > /dev/null 2>&1
exit 0