Skip to content

Commit

Permalink
Enhance cleanup screen
Browse files Browse the repository at this point in the history
Thanks to yvescan for his help

Fixes #9
  • Loading branch information
metal3d committed Jun 10, 2015
1 parent 6fc3341 commit 8c9984f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion simple_curses.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ LASTWINPOS=0
#call on SIGINT and SIGKILL
#it removes buffer before to stop
on_kill(){
echo "Exiting"
tput cup 0 0 >> $BUFFER
# Erase in-buffer
tput ed >> $BUFFER
rm -rf $BUFFER
exit 0
}
Expand Down

0 comments on commit 8c9984f

Please sign in to comment.