[BUG] Not able to ctrl + backspace or ctrl+del in /session command modal; #4259

Closed
opened 2026-02-16 17:43:11 -05:00 by yindo · 1 comment
Owner

Originally created by @m10rten on GitHub (Jan 5, 2026).

Originally assigned to: @kommander on GitHub.

Description

Reproduce on windows 11, in opencode version 1.0.223 and also in latest 1.1.2.

Also not able to ctrl+arrow(left,right) in the search text.
All but 1 work in regular text input field.
ctrl+backspace also does not work in regular windows 11 terminal (with Windows Powershell) using opencode 1.1.2
ctrl+backspace does work when using git bash terminal in vscode or windows terminal.
Still the /session ctrl commands for text altering do not work with git bash.

Plugins

OpenCode version

1.1.2

Steps to reproduce

Steps:

    • Open opencode in vscode terminal (vscode v1.107.1 (17-dec-25))
    • Type and enter command /session
    • type a text
    • Not able to do ctrl+backspace when at end of text, or ctrl+del when at beginning of text;

Screenshot and/or share link

No response

Operating System

Windows 11

Terminal

Vscode@1.107.1 powershell terminal

Originally created by @m10rten on GitHub (Jan 5, 2026). Originally assigned to: @kommander on GitHub. ### Description Reproduce on windows 11, in opencode version 1.0.223 and also in latest 1.1.2. Also not able to ctrl+arrow(left,right) in the search text. All but 1 work in regular text input field. ctrl+backspace also does not work in regular windows 11 terminal (with Windows Powershell) using opencode 1.1.2 ctrl+backspace does work when using git bash terminal in vscode or windows terminal. Still the `/session` ctrl commands for text altering do not work with git bash. ### Plugins - ### OpenCode version 1.1.2 ### Steps to reproduce **Steps**: 1. - Open opencode in vscode terminal (vscode v1.107.1 (17-dec-25)) 2. - Type and enter command `/session` 3. - type a text 4. - Not able to do ctrl+backspace when at end of text, or ctrl+del when at beginning of text; ### Screenshot and/or share link _No response_ ### Operating System Windows 11 ### Terminal Vscode@1.107.1 powershell terminal
yindo added the windowsopentuibug labels 2026-02-16 17:43:11 -05:00
yindo closed this issue 2026-02-16 17:43:11 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 5, 2026):

This issue might be a duplicate or related to existing keybinding issues. Please check:

  • #4997: Keybinds (pinned meta-issue covering broken navigation, word deletion, multiline input, and keybinding issues)
  • #6314: Alt+Backspace to delete word does not work
  • #2520: Use Ctrl + arrow keys to move faster (feature request for faster navigation)

For keybind-related issues, please also check our pinned keybinds documentation: #4997

Additionally, this issue appears to be specific to Windows PowerShell terminals - there are several reports of terminal-specific keybind conflicts (Windows vs Git Bash vs other terminals) that might be worth investigating.

@github-actions[bot] commented on GitHub (Jan 5, 2026): This issue might be a duplicate or related to existing keybinding issues. Please check: - #4997: Keybinds (pinned meta-issue covering broken navigation, word deletion, multiline input, and keybinding issues) - #6314: Alt+Backspace to delete word does not work - #2520: Use Ctrl + arrow keys to move faster (feature request for faster navigation) For keybind-related issues, please also check our pinned keybinds documentation: #4997 Additionally, this issue appears to be specific to Windows PowerShell terminals - there are several reports of terminal-specific keybind conflicts (Windows vs Git Bash vs other terminals) that might be worth investigating.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#4259