#5942·wezterm

WezTerm freezes after keyboard repeat

Author: jonathanslendersCreated Aug 13, 2024Updated Sep 16, 2026
LabelsbugOS: macOST: ui/inputs

What Operating System(s) are you seeing this problem on?

macOS

Which Wayland compositor or X11 Window manager(s) are you using?

No response

WezTerm version

20240811-112922-0ac1e948

Did you try the latest nightly build to see if the issue is better (or worse!) than your current version?

Yes, and I updated the version box above to show the version of the nightly that I tried

Describe the bug

When holding down any key for a few seconds until it repeats, after releasing the key, the terminal becomes completely unresponsive for further key presses, except for control-key combinations. Resizing and mouse support remains functional, only typing is blocked.

I didn't had the issue until I upgraded today, I can't recall the previous version I had installed. It does not happen with any other terminal emulator.

To Reproduce

Hold down any key, like 'a' until it repeats. Release the key. Typing no longer works.

Configuration

wezterm.lua is empty.

Expected Behavior

No response

Logs

Debug Overlay wezterm version: 20240811-112922-0ac1e948 aarch64-apple-darwin Window Environment: macOS 14.6.1 (23G93) Lua Version: Lua 5.4 OpenGL: Apple M1 Pro 4.1 Metal - 88.1 Enter lua statements or expressions and hit Enter. Press ESC or CTRL-D to exit

Anything else?

When it happens, typing in other tab pages or the debug overlay is not possible. Opening the debug overlay using ctrl-shift-l works fine. Typing in a new window is also no issue.