summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorben <benjaminfranzke@googlemail.com>2010-07-20 00:34:02 +0200
committerben <benjaminfranzke@googlemail.com>2010-07-20 00:34:02 +0200
commitf23887c39d2b76adedc289123c6f5f3e49a7094b (patch)
treef527f00ccf1b8bbcf0e4008f9c16ceda77145b34
parentf85eae90b27e6e18d3d1632fcbe102a4fc1671c0 (diff)
downloadpa-sink-ctl-f23887c39d2b76adedc289123c6f5f3e49a7094b.tar.gz
pa-sink-ctl-f23887c39d2b76adedc289123c6f5f3e49a7094b.tar.bz2
pa-sink-ctl-f23887c39d2b76adedc289123c6f5f3e49a7094b.zip
clear stdscr and menu_win & print list after that
-rw-r--r--src/interface.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/interface.c b/src/interface.c
index e7ec6b1..f5862f9 100644
--- a/src/interface.c
+++ b/src/interface.c
@@ -60,6 +60,11 @@ void interface_resize(void)
{
getmaxyx(stdscr, height, width);
wresize(menu_win, height, width);
+
+ wclear(stdscr);
+ wclear(menu_win);
+
+ print_sink_list();
}
void print_sink_list(void)