Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Oh My Zsh
Commits
357d57c5
Commit
357d57c5
authored
Dec 07, 2015
by
Sebastian Gniazdowski
Browse files
znt: include some status information on top of the window
parent
c793baea
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/zsh-navigation-tools/n-list
View file @
357d57c5
...
@@ -363,6 +363,11 @@ while (( 1 )); do
...
@@ -363,6 +363,11 @@ while (( 1 )); do
fi
fi
zcurses border main
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 refresh main inner
zcurses move main
$((
term_height
-
1
-
1
))
$((
status_msg_strlen
+
2
))
zcurses move main
$((
term_height
-
1
-
1
))
$((
status_msg_strlen
+
2
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment