Compare commits

...

4 Commits

Author SHA1 Message Date
John 3c96cee12a
Merge 558dd43a93 into d54568642b 2025-05-16 12:03:27 +01:00
Marc Brooks d54568642b
fix(ui): Fix regression on Shift-Backspace not being handled (#454)
This keystroke is valid and means "delete to the right" on MacOS.
2025-05-16 12:38:56 +02:00
Marc Brooks c9068af568
Update devcontainer.json to match ui package.json (#457)
Missed that we upgraded the ui's package.json, need to _also_ update the devcontainer.json to matching verison 22.15.0
2025-05-16 12:37:54 +02:00
john-- 558dd43a93 Rebind Experiment 2025-05-14 13:29:11 -04:00
3 changed files with 10 additions and 1 deletions

View File

@ -4,7 +4,7 @@
"features": {
"ghcr.io/devcontainers/features/node:1": {
// Should match what is defined in ui/package.json
"version": "21.1.0"
"version": "22.15.0"
}
},
"mounts": [

View File

@ -200,6 +200,14 @@ func (u *UsbGadget) Init() error {
u.log.Error().Err(err).Msg("failed to mount configfs, usb stack might not function properly")
}
if _, err := os.Stat(u.configC1Path); err == nil {
u.log.Error().Str("configC1Path", u.configC1Path).Msg("removing existing config path")
err := os.RemoveAll(u.configC1Path);
if err != nil {
u.log.Error().Err(err).Msg("failed to remove existing config path")
}
}
if err := os.MkdirAll(u.configC1Path, 0755); err != nil {
u.log.Error().Err(err).Msg("failed to create config path")
}

View File

@ -243,6 +243,7 @@ export const keyDisplayMap: Record<string, string> = {
Escape: "esc",
Tab: "tab",
Backspace: "backspace",
"(Backspace)": "backspace",
Enter: "enter",
CapsLock: "caps lock",
ShiftLeft: "shift",