Skip to content

[Feature]: Holding Ctrl+W to delete text on the t3code terminal eventually closes the terminal and the t3code app #2787

@piyushpradhan

Description

@piyushpradhan

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I am describing a concrete problem or use case, not just a vague idea.

Area

apps/desktop

Problem or use case

When I open a terminal and I want to delete some text I often use Ctrl+W and hold it until everything is cleared but if I do that in the t3code terminal it uses the same Ctrl+W that I've been holding to close the t3code app as well.

Using v0.0.24 on Windows 11 25H2

Proposed solution

Either:

  1. Ask for confirmation before closing the t3code app or keep running that in the background even after it's closed
  2. Do NOT close the terminal with Ctrl+W, maybe something like Ctrl+` to toggle the terminal would be nice like popular code editors do.

Why this matters

I'm used to using a terminal/CLI for a lot of things like a lot of developers and Ctrl+W/Cmd+W is a pretty common keybind that a lot of people use. Closing the app without any warning while we're holding Ctrl+W for a completely different reason feels odd and works against our muscle memory.

Smallest useful scope

Simply not closing the terminal by pressing Ctrl+W should be good enough.

Alternatives considered

Currently, I have to hold backspace to make sure it doesn't close the entire app.

Risks or tradeoffs

I guess the terminal here is considered as another "pane"/"view" which is why the closing behavior is the same as the other views (threads), if that assumption is being used in other places as well it might increase the scope of changes drastically.

If there are people who are used to closing the terminal with Ctrl+W then fixing this might affect their experience and workflow.

Examples or references

2026-05-23.18-31-43.mp4

Contribution

  • I would be open to helping implement this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementRequested improvement or new capability.needs-triageIssue needs maintainer review and initial categorization.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions