ptt: change default key from space to f4

Space conflicts with chat input. F4 is unused by default
in most terminal emulators and won't interfere with typing.
This commit is contained in:
Username
2026-02-24 12:46:45 +01:00
parent 623c51a19d
commit bc0da57625
3 changed files with 3 additions and 3 deletions

View File

@@ -12,7 +12,7 @@ tuimble --host mumble.example.com --user myname
| Key | Action |
|-----|--------|
| `q` | Quit |
| `space` | Push-to-talk (configurable) |
| `F4` | Push-to-talk (configurable) |
| `Enter` | Send message |
| `Ctrl+C` | Quit |

View File

@@ -28,7 +28,7 @@ class AudioConfig:
@dataclass
class PttConfig:
key: str = "space"
key: str = "f4"
mode: str = "hold" # hold | toggle
backend: str = "auto" # auto | kitty | evdev | toggle

View File

@@ -19,5 +19,5 @@ def test_server_config():
def test_ptt_config_defaults():
ptt = PttConfig()
assert ptt.key == "space"
assert ptt.key == "f4"
assert ptt.backend == "auto"