[PR #1199] [MERGED] feat(tui): add ctrl+p and ctrl-n to history navigation #9848

Closed
opened 2026-02-16 18:14:16 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/anomalyco/opencode/pull/1199
Author: @timoclsn
Created: 7/21/2025
Status: Merged
Merged: 7/21/2025
Merged by: @adamdotdevin

Base: devHead: ctrl-p-and-n-for-history-nav


📝 Commits (4)

  • a183337 ignore: update download stats 2025-07-21
  • c922840 Merge branch 'sst:dev' into dev
  • ff96197 feat(tui): add ctrl+p and ctrl-n to history navigation
  • f2a06b9 Revert change

📊 Changes

2 files changed (+11 additions, -8 deletions)

View changed files

📝 STATS.md (+1 -0)
📝 packages/tui/internal/components/chat/editor.go (+10 -8)

📄 Description

Like in the terminal I think we should also allow ctrl + p and control + n for history navigation.

I allowed ctrl + p and ctrl + n from anywhere, not only first/last line/column.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/anomalyco/opencode/pull/1199 **Author:** [@timoclsn](https://github.com/timoclsn) **Created:** 7/21/2025 **Status:** ✅ Merged **Merged:** 7/21/2025 **Merged by:** [@adamdotdevin](https://github.com/adamdotdevin) **Base:** `dev` ← **Head:** `ctrl-p-and-n-for-history-nav` --- ### 📝 Commits (4) - [`a183337`](https://github.com/anomalyco/opencode/commit/a1833374f8298f63b9e13873b93b8c8b26f5a3a0) ignore: update download stats 2025-07-21 - [`c922840`](https://github.com/anomalyco/opencode/commit/c922840ee8b30c09f6f529e2f0e58a01f0843a14) Merge branch 'sst:dev' into dev - [`ff96197`](https://github.com/anomalyco/opencode/commit/ff9619759ef95093365d1d54178cd004465fdaf8) feat(tui): add ctrl+p and ctrl-n to history navigation - [`f2a06b9`](https://github.com/anomalyco/opencode/commit/f2a06b94823e5ffd687ded05288d5ba06b81dc67) Revert change ### 📊 Changes **2 files changed** (+11 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `STATS.md` (+1 -0) 📝 `packages/tui/internal/components/chat/editor.go` (+10 -8) </details> ### 📄 Description Like in the terminal I think we should also allow ctrl + p and control + n for history navigation. I allowed ctrl + p and ctrl + n from anywhere, not only first/last line/column. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 18:14:16 -05:00
yindo closed this issue 2026-02-16 18:14:16 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#9848