bugfix and bugnotes

This commit is contained in:
2026-05-01 02:37:13 +03:00
parent 1ad43602f4
commit 4da296a135
2 changed files with 8 additions and 0 deletions

View File

@@ -1,5 +1,7 @@
# For MVP functionality
- fix coloring issue in UlOS 2 beta 5 (and in OpenOS `dmesg`, it appears color-mapper is wrong)
- fix FrostOS crash due to empty syscalls table (unsure what is happening)
- make `computer` component use callbacks
- make a lot of stuff which likely will need to be indirect actually be indirect (modem comms, computer funcs)
- make beeps, power, etc. be callbacks on one shared local state (computer environment)

View File

@@ -604,6 +604,12 @@ int main(int argc, char **argv) {
if(keycode == KEY_ENTER) unicode = '\r';
if(keycode == KEY_BACKSPACE) unicode = '\b';
if(keycode == KEY_TAB) unicode = '\t';
bool isCtrlPressed = keybuf[KEY_LEFT_CONTROL].key != 0;
if(isCtrlPressed) {
if(keycode == KEY_C) unicode = 3;
if(keycode == KEY_D) unicode = 4;
}
}
nn_pushKeyDown(c, "mainKB", unicode, keycode_to_oc(keycode), player);