added unicode support
This commit is contained in:
2
window.c
2
window.c
@@ -35,7 +35,7 @@ void window_top(WINDOW *win){
|
||||
if (pthread_mutex_trylock(&mutex_top) == 0) {
|
||||
wattron(win, COLOR_PAIR(COLOR_PATH));
|
||||
if (*top_buffer != ' ') { /*printing ' ' (standard initialized value, see threading_init) makes valgrind throw a fuss*/
|
||||
mvwprintw(win, 0, 0, "%s", top_buffer);
|
||||
mvwaddstr(win, 0, 0, top_buffer);
|
||||
}
|
||||
wattroff(win, COLOR_PAIR(COLOR_PATH));
|
||||
pthread_mutex_unlock(&mutex_top);
|
||||
|
Reference in New Issue
Block a user