diff options
Diffstat (limited to 'ui.c')
-rw-r--r-- | ui.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ui.c b/ui.c index add6eb3..6449e27 100644 --- a/ui.c +++ b/ui.c @@ -797,6 +797,16 @@ static void inputUpdate(void) { wmove(input, y, x); } +void uiWindows(void) { + for (uint num = 0; num < windows.len; ++num) { + const struct Window *window = windows.ptrs[num]; + uiFormat( + Network, Warm, NULL, "\3%02d%u %s", + idColors[window->id], num, idNames[window->id] + ); + } +} + static void windowShow(uint num) { if (num != windows.show) { windows.swap = windows.show; |