Skip to content

codex-rs: have ctrl+D only quit if input buffer is empty #1337

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

cliff-openai
Copy link

I am used to using ctrl+d to delete the character to the right of the cursor (this is a default emacs keybind, and works on most terminals), and I keep accidentally killing my codex windows. This change fixes this (and allows the use of ctrl-d to delete a character to the right of the cursor as well).

This is slightly related to issue #1245, which discusses using ctrl+c (twice) as a method of quitting.

I am used to using ctrl+d to delete the character to the right of the
cursor (this is a default emacs keybind, and works on most terminals),
and I keep accidentally killing my codex windows. This change fixes
this (and allows the use of ctrl-d to delete a character to the right
of the cursor as well).

This is slightly related to issue openai#1245, which discusses using ctrl+c
(twice) as a method of quitting.
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.

1 participant