Better color.

This commit is contained in:
Alexander Myltsev 2025-01-19 22:18:21 +04:00
parent 2ef286066b
commit 8bbd292e9a

View File

@ -49,7 +49,7 @@ is configured to generate an interrupt approximately 100 times per second.
You can arrange for your handler to be called every time this happens You can arrange for your handler to be called every time this happens
with `add_timer_callback(my_handler)` somewhere inside `kmain`. with `add_timer_callback(my_handler)` somewhere inside `kmain`.
Your task is to draw a blue spinner in the upper right corner of the screen, Your task is to draw a white-on-black spinner in the upper right corner of the screen,
rotating once per second. The spinner can be drawn by displaying the next symbol rotating once per second. The spinner can be drawn by displaying the next symbol
in the sequence `↑/→\↓/←\`. The arrows have codes 0x18-0x1b in the encoding in the sequence `↑/→\↓/←\`. The arrows have codes 0x18-0x1b in the encoding
used by the simulated terminal ([CP437](https://en.wikipedia.org/wiki/Code_page_437)). used by the simulated terminal ([CP437](https://en.wikipedia.org/wiki/Code_page_437)).