Description
The ctrl+p keyboard shortcut is completely unresponsive in the latest version (v1.18.2). By default, ctrl+p is mapped to command_list, but pressing it has no effect. This was working perfectly in the previous version I used (v1.17.20).
I have verified that the issue is specific to the ctrl+p key combination itself, not the underlying functions or a specific shell environment:
- If I remap
command_list to ctrl+o in tui.json, pressing ctrl+o triggers the command list correctly.
- If I attempt to remap another function (e.g.,
agent_cycle) to ctrl+p in tui.json, pressing ctrl+p still does nothing. Removing this custom mapping restores the function's default shortcut.
- I have tested this across multiple environments on Windows 11 (PowerShell 7, built-in Windows PowerShell, Git Bash, and CMD). The issue persists in all of them.
It seems ctrl+p is being intercepted, ignored, or broken across all Windows terminals in v1.18.2.
Plugins
None
OpenCode version
1.18.2
Steps to reproduce
- Open OpenCode v1.18.2 on Windows 11 using any shell (tested on PowerShell 7, Windows PowerShell, Git Bash, and CMD).
- Press
ctrl+p to open the command list (default behavior).
- Observe that nothing happens.
- Open
tui.json and set "keybinds": { "command_list": "ctrl+o" }. Restart OpenCode and press ctrl+o -> command list opens successfully.
- Change
tui.json to "keybinds": { "agent_cycle": "ctrl+p" }. Restart OpenCode and press ctrl+p -> nothing happens.
Screenshot and/or share link
N/A (Keyboard shortcut issue)
Operating System
Windows 11
Terminal
Windows Terminal (PowerShell 7, Windows PowerShell, CMD) and Git Bash
Description
The
ctrl+pkeyboard shortcut is completely unresponsive in the latest version (v1.18.2). By default,ctrl+pis mapped tocommand_list, but pressing it has no effect. This was working perfectly in the previous version I used (v1.17.20).I have verified that the issue is specific to the
ctrl+pkey combination itself, not the underlying functions or a specific shell environment:command_listtoctrl+ointui.json, pressingctrl+otriggers the command list correctly.agent_cycle) toctrl+pintui.json, pressingctrl+pstill does nothing. Removing this custom mapping restores the function's default shortcut.It seems
ctrl+pis being intercepted, ignored, or broken across all Windows terminals in v1.18.2.Plugins
None
OpenCode version
1.18.2
Steps to reproduce
ctrl+pto open the command list (default behavior).tui.jsonand set"keybinds": { "command_list": "ctrl+o" }. Restart OpenCode and pressctrl+o-> command list opens successfully.tui.jsonto"keybinds": { "agent_cycle": "ctrl+p" }. Restart OpenCode and pressctrl+p-> nothing happens.Screenshot and/or share link
N/A (Keyboard shortcut issue)
Operating System
Windows 11
Terminal
Windows Terminal (PowerShell 7, Windows PowerShell, CMD) and Git Bash