Skip to content

Conversation

gpeal
Copy link
Collaborator

@gpeal gpeal commented Sep 7, 2025

This updates the ctrl + c behavior to clear the current prompt if there is text and you press ctrl + c.

I also updated the ctrl + c hint text to show ^c to interrupt instead of ^c to quit if there is an active conversation.

Two things I don't love:

  1. You can currently interrupt a conversation with escape or ctrl + c (not related to this PR and maybe fine)
  2. The bottom row hint text always says ^c to quit but this PR doesn't really make that worse.
CleanShot.2025-09-07.at.16.05.52.mp4

Fixes #3126

@gpeal gpeal marked this pull request as ready for review September 7, 2025 23:22
@gpeal gpeal merged commit 58d77ca into main Sep 8, 2025
18 checks passed
@gpeal gpeal deleted the gpeal/ctrl_c_behavior branch September 8, 2025 03:21
@github-actions github-actions bot locked and limited conversation to collaborators Sep 8, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement CTRL + L or similar commands to discard a prompt
2 participants