Skip to content

Up arrow #333

Open
Open

Description

@MrJRules

In current build, up arrow not registering with single tap. It only shows up after tapping the key 3 times. Left, Right and Down are fine.

Activity

  1. lukkea commented on Oct 18, 2024

    @lukkea

    see this issue for info on why this is happening: #341

  2. doggy8088 commented on Oct 10, 2026

    @doggy8088

    Hi there! 👋

    I (@doggy8088 / Will Huang) have stepped in to take over active maintenance of Carnac at doggy8088/carnac (project website: https://carnac.gh.miniasp.com/).

    This issue has been resolved in my maintained fork!

    Context & Root Cause

    • Why a single Up arrow didn't show up: Carnac shipped with konami.yml enabled by default (Up, Up, Down, Down, Left, Right, Left, Right, B, A). Because the Konami sequence starts with Up, Up, Carnac's ShortcutAccumulator treated your first Up arrow press as the beginning of a potential multi-key chord and buffered it indefinitely waiting for the next key. Only after pressing Up a 3rd time did the chord fail to match and flush as ↑ x 3.
    • The Fix:
      1. Moved konami.yml to an opt-in sample (Keymaps/samples/konami.yml.sample) so normal Up arrow key presses are never hijacked out of the box.
      2. Added a 1-second chord timeout (ShortcutAccumulator.Flush()) in MessageProvider so that even when multi-step chords (like Ctrl+K, Ctrl+C in Visual Studio / VS Code) are used, pressing the first key alone will automatically flush and display on screen after 1 second instead of being swallowed forever.
    • Related Issue & PR:

    Availability

    • Source Code: Available now on the dev branch of doggy8088/carnac.
    • Upcoming Release: This will be included in the next official release, which will be published to GitHub Releases (both installer and portable .zip), WinGet (winget install doggy8088.Carnac), and Chocolatey.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions