[BUG] `chcolor` freezes when provided incorrect values
bug
**To Reproduce**
Steps to reproduce the unwanted behavior:
1. Build and run the [main](https://github.com/adamperkowski/highlightos/tree/main) branch version of Highlight OS.
2. Run `chcolor` with incorrect values ([color list](https://github.com/adamperkowski/highlightos/wiki/Core#currently-available-colors-user))
**Expected behavior**
Command should return 4 ([here](https://github.com/adamperkowski/highlightos/commit/aaec972e342cce451a2fa354c705b56201ae4cc7) and [here](https://github.com/adamperkowski/highlightos/wiki/Core#return-codes))
**Screenshots / photos**
https://github.com/user-attachments/assets/c1d76636-8f61-4bc3-b07b-d6f2ca612acb
**Desktop (please complete the following information):**
- QEMU Version: 9.0.2-1
- Release Version: main branch [this](https://github.com/adamperkowski/highlightos/commit/aaec972e342cce451a2fa354c705b56201ae4cc7) commit
- Debug / Release binary: both
0 条评论