mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2026-09-18 00:10:08 +00:00
disable tty echo for the whole duration of wizard
This commit is contained in:
+2
-2
@@ -310,7 +310,6 @@ functions -M get_columns 0 0
|
|||||||
function render_screen() {
|
function render_screen() {
|
||||||
{
|
{
|
||||||
hide_cursor
|
hide_cursor
|
||||||
stty -echo 2>/dev/null
|
|
||||||
while true; do
|
while true; do
|
||||||
while true; do
|
while true; do
|
||||||
typeset -gi wizard_columns='get_columns()'
|
typeset -gi wizard_columns='get_columns()'
|
||||||
@@ -362,7 +361,6 @@ function render_screen() {
|
|||||||
done
|
done
|
||||||
done
|
done
|
||||||
} always {
|
} always {
|
||||||
stty echo 2>/dev/null
|
|
||||||
show_cursor
|
show_cursor
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1919,6 +1917,8 @@ else
|
|||||||
local -ir has_truecolor=0
|
local -ir has_truecolor=0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
stty -echo 2>/dev/null
|
||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
local instant_prompt=verbose zshrc_content= zshrc_backup= zshrc_backup_u=
|
local instant_prompt=verbose zshrc_content= zshrc_backup= zshrc_backup_u=
|
||||||
local -i zshrc_has_cfg=0 zshrc_has_instant_prompt=0 write_zshrc=0
|
local -i zshrc_has_cfg=0 zshrc_has_instant_prompt=0 write_zshrc=0
|
||||||
|
|||||||
Reference in New Issue
Block a user