diff options
| author | Reiner Herrmann <reiner@reiner-h.de> | 2011-01-29 02:15:10 +0100 |
|---|---|---|
| committer | Reiner Herrmann <reiner@reiner-h.de> | 2011-01-29 02:15:10 +0100 |
| commit | 2575749c5beadeb921405d8dfdfc6bfbc87d7464 (patch) | |
| tree | f55fa012c6fe77527c8631444aa94b18266d80fd /src/ui.c | |
| parent | ad6af1cb3e35e56631e2bcf35145e3af695a8c6e (diff) | |
remove annoying flickering in urxvt; use werase (blank window) instead of wclear (clear screen completely)
Diffstat (limited to 'src/ui.c')
| -rw-r--r-- | src/ui.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -221,7 +221,7 @@ void ui_display_wnd_current_state(const player_list_t *pl, const uint8_t num_pla assert(pl != NULL); uint8_t pos = 0; - wclear(w_current_state); + werase(w_current_state); wattron(w_current_state, A_BOLD); mvwprintw(w_current_state, 0, 0, "Current state:"); mvwprintw(w_current_state, 0, 22, "Your Score: %3d", score); @@ -271,7 +271,7 @@ void ui_display_wnd_current_state(const player_list_t *pl, const uint8_t num_pla */ void ui_display_wnd_messages(const char *message, const bool highlight) { - wclear(w_messages); + werase(w_messages); if (highlight) wattron(w_messages, COLOR_PAIR(CP_YELLOW_ON_BLACK)); |
