feat: shift key in ssh term (#819)

This commit is contained in:
lollipopkit🏳️‍⚧️
2025-07-17 18:18:18 +08:00
committed by GitHub
parent a35d21981b
commit c6439673b8
11 changed files with 63 additions and 28 deletions

View File

@@ -254,6 +254,8 @@ class VirtKeyAdapter extends TypeAdapter<VirtKey> {
return VirtKey.f11;
case 43:
return VirtKey.f12;
case 44:
return VirtKey.shift;
default:
return VirtKey.esc;
}
@@ -350,6 +352,8 @@ class VirtKeyAdapter extends TypeAdapter<VirtKey> {
writer.writeByte(42);
case VirtKey.f12:
writer.writeByte(43);
case VirtKey.shift:
writer.writeByte(44);
}
}