mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-07-11 02:03:22 +00:00
Dont use alternate screen as it is too disruptive
This commit is contained in:
parent
40f04284d4
commit
9520006466
1 changed files with 0 additions and 4 deletions
|
|
@ -8,8 +8,6 @@ die() { printf "\033[31m%s\033[m\n\r" "$*" > /dev/stderr; exit 1; }
|
|||
delete_lock_dir() {
|
||||
trap '' EXIT INT QUIT TERM
|
||||
[ -n "$lock_dir" ] && {
|
||||
# switch to normal mode
|
||||
printf "\033[?1049l"
|
||||
command rm -rf "$lock_dir"
|
||||
lock_dir=""
|
||||
}
|
||||
|
|
@ -94,8 +92,6 @@ if ! command mkdir "$lock_dir" 2> /dev/null; then
|
|||
fi
|
||||
trap 'delete_lock_dir' EXIT INT QUIT TERM
|
||||
|
||||
# switch to alternate screen
|
||||
printf "\033[?1049h"
|
||||
printf "\033[33mkitty needs to be %s\033[m\n\n" "$what"
|
||||
command rm -rf "$install_dir"
|
||||
command mkdir -p "$install_dir"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue