adamperkowski / highlightos

🌄 x86_64 OS (kernel) made from scratch in Rust & Assembly
https://os.adamperkowski.dev
GNU General Public License v3.0
49 stars 4 forks source link

[BUG] `chcolor` freezes when provided incorrect values #12

Closed adamperkowski closed 4 months ago

adamperkowski commented 4 months ago

To Reproduce Steps to reproduce the unwanted behavior:

  1. Build and run the main branch version of Highlight OS.
  2. Run chcolor with incorrect values (color list)

Expected behavior Command should return 4 (here and here)

Screenshots / photos

https://github.com/user-attachments/assets/c1d76636-8f61-4bc3-b07b-d6f2ca612acb

Desktop (please complete the following information):