Skip to content

Fix TUI backspace across continued composer lines#18698

Open
LeonSGP43 wants to merge 1 commit into
NousResearch:mainfrom
LeonSGP43:fix/tui-backspace-newline-18394
Open

Fix TUI backspace across continued composer lines#18698
LeonSGP43 wants to merge 1 commit into
NousResearch:mainfrom
LeonSGP43:fix/tui-backspace-newline-18394

Conversation

@LeonSGP43

Copy link
Copy Markdown
Contributor

Summary

  • allow the TUI text input to delegate Backspace at cursor start to the composer
  • merge the previous backslash-continued composer line into the active input so Backspace deletes the continuation boundary
  • add regression coverage for continuation-line merging

Fixes #18394

Tests

  • npm test -- composerContinuationBackspace textInputLineNav
  • npm run type-check
  • git diff --check origin/main...HEAD

@alt-glitch alt-glitch added type/bug Something isn't working P2 Medium — degraded but workaround exists comp/tui Terminal UI (ui-tui/ + tui_gateway/) labels May 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/tui Terminal UI (ui-tui/ + tui_gateway/) P2 Medium — degraded but workaround exists type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: TUI backspace cannot delete newline characters in composer input

2 participants