Skip to content

chore: release version bump#9

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
changeset-release/main
Open

chore: release version bump#9
github-actions[bot] wants to merge 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@vemjs/[email protected]

Patch Changes

  • b361f5b: Fix two interaction bugs from the 2026-07-16 audit:

    • Split panes now re-layout when the workspace box changes: WorkspaceLayout
      calls PanelGroup.resize() instead of writing width/height bare, so
      opening the Explorer/PluginLab or resizing the window after :vsp/:sp
      no longer leaves panes at stale sizes overflowing off-screen.
    • Mouse clicks land on the character cell containing the pointer (Vim
      mouse=a semantics): the x→column mapping used Math.round, sending
      right-half clicks one cell to the right; it now floors and clamps at 0.
  • b361f5b: Fix printable keystrokes being delivered twice to the Vim state machine. VemEditorEntity's keydown handler already fed every non-composing key to handleKey() unconditionally, but only called preventDefault() for a narrow whitelist (arrows, Home/End, Tab, Backspace, Escape, Space) — letters, digits, punctuation, Enter, and Delete were left unprevented. That let the keystroke also reach the focused a11y shadow <textarea> natively, which mutated its .value and fired the change handler added for IME support, redelivering the same character a second time. In NORMAL mode this meant i/a both switched to INSERT and inserted the literal character, with rapid/held a compounding on every press; in INSERT mode, Enter could additionally leak a literal \n into the buffer instead of a clean line split. preventDefault() now covers every single printable character plus Enter/Delete, so the shadow textarea's change event is reserved for genuine IME composition commits only.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants