t3code icon indicating copy to clipboard operation
t3code copied to clipboard

[Bug]: ctrl+a ctrl+e don't work in built-in terminal

Open nbrosei opened this issue 3 months ago • 1 comments

Before submitting

  • [x] I searched existing issues and did not find a duplicate.
  • [x] I included enough detail to reproduce or investigate the problem.

Area

apps/web

Steps to reproduce

open terminal with Cmd+J, type, try using Ctrl+A to go back to beginning of line in terminal

Expected behavior

Ctrl+A: move to the beginning of the line Ctrl+E: move to the end of the line

Actual behavior

These very common Emacs-style (Unix readline) keybindings don't work in the t3 code terminal: Ctrl+A: move to the beginning of the line Ctrl+E: move to the end of the line They work in almost all shells, terminals, and macOS text fields, but not in t3 code: they just enter literal "Ctrl+A" "Ctrl+E" instead of doing the "move to the beginning of the line" and "move to the end of the line" actions.

Image

Impact

Minor bug or occasional failure

Version or commit

nightly

Environment

No response

Logs or stack traces


Screenshots, recordings, or supporting files

No response

Workaround

No response

nbrosei avatar Aug 08 '26 13:08 nbrosei

Retested on September 5, 2026 at latest main 82f64cd8 in the real Linux web client, Chromium 152, with bash in the built-in terminal.

I typed READLINE-END, pressed Ctrl+A, typed echo BEGIN-, pressed Ctrl+E, appended -TAIL, and pressed Enter. The shell received echo BEGIN-READLINE-END-TAIL and printed BEGIN-READLINE-END-TAIL. Neither shortcut inserted a literal key name.

Current main: both readline shortcuts move the cursor and produce the expected shell command

Closing because the reported behavior does not reproduce in this current web-client check. This was not a native macOS desktop test. If it still happens in your setup, or you disagree with closing this report, please open a new issue with the exact T3 version, operating system, browser or desktop app, shell, and a short recording. Those details will help us test the affected path directly.

Tested by GPT 6 Astra via Codex in T3 Code.

juliusmarminge avatar Sep 05 '26 01:09 juliusmarminge