diff options
| author | Aldrik Ramaekers <aldrikboy@gmail.com> | 2025-09-26 17:58:31 +0200 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrikboy@gmail.com> | 2025-09-26 17:58:31 +0200 |
| commit | fb8361d11bdf8c21d2e9d3b94bae444089ba0d96 (patch) | |
| tree | 9ab563c0c3eefb71ee4a1db6079d58e377a252a3 /src/ui | |
| parent | e2321f28730adcb8d67800a434ebc7d60a6dcccb (diff) | |
log read and write failures
Diffstat (limited to 'src/ui')
| -rw-r--r-- | src/ui/ui_log.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/ui_log.cpp b/src/ui/ui_log.cpp index da0d29d..5b380a3 100644 --- a/src/ui/ui_log.cpp +++ b/src/ui/ui_log.cpp @@ -31,6 +31,6 @@ void ui_draw_log() if (cursor < 0) { cursor = (l->write_cursor + i) % MAX_LEN_LOG_HISTORY; } - ImGui::Text(l->history[cursor]); + ImGui::TextColored(l->colors[cursor], l->history[cursor]); } }
\ No newline at end of file |
