Skip to content

Commit 6224ed6

Browse files
committed
fix ncourses log
1 parent 61adc84 commit 6224ed6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

code/common/src/logging.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ extern uint8_t g_log_buf_cur;
7878
if(g_interactive) { \
7979
if (log_id[log_id_].enable) { \
8080
wprintw(log_win, "%s "fmt_, log_format_timestamp(), ##__VA_ARGS__); \
81+
wrefresh(log_win); \
8182
} \
8283
} else { \
8384
if (log_id[log_id_].enable) { \
@@ -102,7 +103,7 @@ extern uint8_t g_log_buf_cur;
102103
if(g_interactive) { \
103104
if (log_id[log_id_].enable) { \
104105
wprintw(log_win, "%s "fmt_, log_format_timestamp()); \
105-
wrefresh(log_win); \
106+
wrefresh(log_win); \
106107
} \
107108
} else { \
108109
if (log_id[log_id_].enable) { \

0 commit comments

Comments
 (0)