Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
d6eeed45
Commit
d6eeed45
authored
May 13, 2013
by
Martin Blix Grydeland
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Draw the info segment in the curses app
parent
e1706e6f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
varnishstat_curses.c
bin/varnishstat/varnishstat_curses.c
+8
-3
No files found.
bin/varnishstat/varnishstat_curses.c
View file @
d6eeed45
...
...
@@ -752,13 +752,18 @@ draw_bar_b(void)
static
void
draw_info
(
void
)
{
int
Y
,
X
;
if
(
w_info
==
NULL
)
return
;
getmaxyx
(
w_info
,
Y
,
X
);
mvwprintw
(
w_info
,
0
,
0
,
"infotest Y=%d X=%d"
,
Y
,
X
);
werase
(
w_info
);
if
(
current
<
n_ptarray
-
1
)
{
/* XXX: Word wrapping, and overflow handling? */
mvwprintw
(
w_info
,
0
,
0
,
"%s:"
,
ptarray
[
current
]
->
vpt
->
desc
->
sdesc
);
mvwprintw
(
w_info
,
1
,
0
,
"%s"
,
ptarray
[
current
]
->
vpt
->
desc
->
ldesc
);
}
wnoutrefresh
(
w_info
);
}
...
...
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