aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorache <ache@ache.one>2018-09-28 06:01:27 +0200
committerache <ache@ache.one>2018-09-28 06:01:27 +0200
commit52acfd99dda6a45dc7ce4e755bfa7f72eab71b92 (patch)
treeaa1d5adb6702422b76409cccf147c27b1ea7f471
parentFix bug end of list not cleaned (diff)
Fix a bug with the ncurse print
-rw-r--r--basic_curses.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/basic_curses.c b/basic_curses.c
index 1a48b8d..31b2311 100644
--- a/basic_curses.c
+++ b/basic_curses.c
@@ -110,6 +110,7 @@ void printc(char* fstrc, int max_length) {
printw("%.*s", toP, tmp);
tmp=NULL;
toP=0;
+ break;
}
switch( fstrc[i] ) {
case '$':