Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
github
oh-my-zsh
Commits
357d57c5
Commit
357d57c5
authored
Dec 07, 2015
by
Sebastian Gniazdowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
znt: include some status information on top of the window
parent
c793baea
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
n-list
plugins/zsh-navigation-tools/n-list
+5
-0
No files found.
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