Commit 357d57c5 authored by Sebastian Gniazdowski's avatar Sebastian Gniazdowski
Browse files

znt: include some status information on top of the window

parent c793baea
......@@ -363,6 +363,11 @@ while (( 1 )); do
fi
zcurses border main
local top_msg="${(C)ZSH_NAME} $ZSH_VERSION, shell level $SHLVL, $USER"
zcurses move main 0 $(( term_width / 2 - $#top_msg / 2 ))
zcurses string main $top_msg
zcurses refresh main inner
zcurses move main $(( term_height - 1 - 1 )) $(( status_msg_strlen + 2 ))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment