Skip to content

Make Ctrl-d behaviour match other tools#1040

Merged
ellie merged 1 commit intoatuinsh:mainfrom
janlarres:standardize-ctrl-d
Jun 11, 2023
Merged

Make Ctrl-d behaviour match other tools#1040
ellie merged 1 commit intoatuinsh:mainfrom
janlarres:standardize-ctrl-d

Conversation

@janlarres
Copy link
Contributor

@janlarres janlarres commented Jun 10, 2023

With this change Ctrl-d behaves differently depending on whether there is any input text available. If there is, it will delete the character to the right of the cursor if there is any. If there isn't it will instead quit interactive mode and leave the original shell command line unchanged.
This matches other line-based tools like bash and fzf.

With this change Ctrl-d behaves differently depending on whether there
is any input text available. If there is, it will delete the character
to the right of the cursor if there is any. If there isn't it will
instead quit interactive mode and leave the original shell command line
unchanged.
This matches other line-based tools like bash and fzf.
@vercel
Copy link

vercel bot commented Jun 10, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
atuin ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 10, 2023 3:01am

Copy link
Member

@ellie ellie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank yoy!

@ellie ellie merged commit dccdb2c into atuinsh:main Jun 11, 2023
@janlarres janlarres deleted the standardize-ctrl-d branch June 11, 2023 23:34
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.

2 participants