Multi-line Input Navigation: Up Arrow triggers message history instead of cursor line-up #6966

Open
opened 2026-02-16 18:05:44 -05:00 by yindo · 1 comment
Owner

Originally created by @nimit2801 on GitHub (Jan 20, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

When typing a multi-line message in the chat input bar, pressing the Up Arrow key immediately jumps focus to the previous message in the chat history. This occurs even when the cursor is in the middle or bottom of a multi-line text block, preventing users from navigating or editing their current draft effectively.

Plugins

No response

OpenCode version

1.0.218

Steps to reproduce

Open the chat input bar in the Opencode interface.

Type or paste a message with multiple lines (e.g., 3+ lines of code or text).

Place the cursor at the end of the last line.

Press the Up Arrow key.

Screenshot and/or share link

https://github.com/user-attachments/assets/61f0d6b7-9f18-4aa0-a2b8-db724fd50c2b

Operating System

MacOS 15+>

Terminal

No response

Originally created by @nimit2801 on GitHub (Jan 20, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description When typing a multi-line message in the chat input bar, pressing the Up Arrow key immediately jumps focus to the previous message in the chat history. This occurs even when the cursor is in the middle or bottom of a multi-line text block, preventing users from navigating or editing their current draft effectively. ### Plugins _No response_ ### OpenCode version 1.0.218 ### Steps to reproduce Open the chat input bar in the Opencode interface. Type or paste a message with multiple lines (e.g., 3+ lines of code or text). Place the cursor at the end of the last line. Press the Up Arrow key. ### Screenshot and/or share link https://github.com/user-attachments/assets/61f0d6b7-9f18-4aa0-a2b8-db724fd50c2b ### Operating System MacOS 15+> ### Terminal _No response_
yindo added the opentuibug labels 2026-02-16 18:05:44 -05:00
Author
Owner

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

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

@github-actions[bot] commented on GitHub (Jan 20, 2026): For keybind-related issues, please also check our pinned keybinds documentation: #4997
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#6966