Skip to content

Keybind: history_next broken with ctrl+n #3850

Closed

Description

@jdanbrown

Description

When I use history_next with down (the default) it works fine, but when I try to use it with ctrl+n it produces weird results:

"keybinds": {
  "history_previous": "up,ctrl+p", // Default: "up"
  "history_next": "down,ctrl+n", // Default: "down"
}

In the screencast:

  • up up up down down down
    • Works as expected
  • ctrl+p ctrl+p ctrl+p ctrl+n ctrl+n ctrl+n
    • The first ctrl+n gets "stuck" — this is the bug
  • ctrl+p ctrl+p ctrl+p down ctrl+n ctrl+n ctrl+n
    • Pressing down somehow "un-sticks" the ctrl+n, and then ctrl+n starts working as expected (i.e. like down)
Screen.Recording.2025-11-03.at.2.37.41.PM.mov

OpenCode version

1.0.16

Steps to reproduce

(above)

Screenshot and/or share link

No response

Operating System

macOS 15.5

Terminal

VS Code terminal

Activity

  1. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Nov 3, 2025
  2. github-actions commented on Nov 3, 2025

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    Feel free to ignore if none of these address your specific case.

  3. thdxr commented on Nov 4, 2025

    @thdxr
    Member

    fixed will be in next release

  4. self-assigned this
    on Nov 4, 2025
  5. jdanbrown commented on Nov 4, 2025

    @jdanbrown
    ContributorAuthor

    Thanks! Confirmed fixed on latest dev (0538f43, unreleased).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentui

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions