summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorben <benjaminfranzke@googlemail.com>2010-07-13 11:03:32 +0200
committerben <benjaminfranzke@googlemail.com>2010-07-13 11:03:32 +0200
commitffbfebd3548a4ef2d978608603bb1bc48328e199 (patch)
tree02c01ebed302ba107ecf9af6e667351d5cddbac8
parent148d8bdded18b7788db20a4ec455fe18f73947f2 (diff)
downloadpa-sink-ctl-ffbfebd3548a4ef2d978608603bb1bc48328e199.tar.gz
pa-sink-ctl-ffbfebd3548a4ef2d978608603bb1bc48328e199.tar.bz2
pa-sink-ctl-ffbfebd3548a4ef2d978608603bb1bc48328e199.zip
add werase before printing (no more overwriting)
-rw-r--r--src/interface.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/interface.c b/src/interface.c
index 403db0d..fb0d24c 100644
--- a/src/interface.c
+++ b/src/interface.c
@@ -50,6 +50,7 @@ void print_sink_list(void) {
int y = 2;
int offset = 0;
+ werase(menu_win);
box(menu_win, 0, 0);
// printf("print sinks: %d\n", sink_input_counter);