Restore zoomed pane on exit

This commit is contained in:
Tomasz 2018-08-31 10:09:16 +02:00
parent 893ca7a756
commit 6afd58ccf7
1 changed files with 3 additions and 1 deletions

View File

@ -169,6 +169,7 @@ while read -rsn1 char; do
if [[ $help_state == "1" ]]; then
toggle_help_state
else
handle_exit
exit
fi
elif [[ $char == "" ]]; then
@ -195,7 +196,8 @@ while read -rsn1 char; do
copy_result "$result" "$input"
revert_to_original_pane
handle_exit
exit 0
done < /dev/tty