mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-05 01:46:46 +01:00
znt: update to v2.2.1 (#5174)
This commit is contained in:
parent
d7c06131a2
commit
d012402dad
5 changed files with 52 additions and 10 deletions
|
|
@ -445,7 +445,10 @@ while (( 1 )); do
|
|||
|
||||
[ "$border" = "1" ] && zcurses border main
|
||||
|
||||
local top_msg=" F1-change view, ${(C)ZSH_NAME} $ZSH_VERSION, shell level $SHLVL "
|
||||
local top_msg=" ${(C)ZSH_NAME} $ZSH_VERSION, shell level $SHLVL "
|
||||
if [[ "${NLIST_ENABLED_EVENTS[(r)F1]}" = "F1" ]]; then
|
||||
top_msg=" F1-change view,$top_msg"
|
||||
fi
|
||||
zcurses move main 0 $(( term_width / 2 - $#top_msg / 2 ))
|
||||
zcurses string main $top_msg
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue