Option to rebind Ctrl-D from `quit` to `continue`

Open
#1,114 2 comments 6 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
ruby
Domain
cli, devtools

Research direction

Start by locating the Ctrl-D handling for quit and the existing configuration entry points; the issue specifically requires a knob usable from ~/.rdbgrc. Check how command behavior is tested. Done means an opt-in setting makes Ctrl-D behave like continue while preserving the default quit behavior.

Written by the indexing model from the issue text.

Description

Your proposal

I'd like to have Ctrl-D behave like continue, not as quit.

This should be opt-in with a config knob, so that it can be set in ~/.rdbgrc.

Additional context

Coming from byebug, letting the program continue with Ctrl+d is deeply engrained in my muscle memory. After switching to debug, I often find myself on the Really quit? [Y/n] prompt.

Dominant language
Ruby
Stars
1.3k
Forks
146
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ruby/debug

All issues in ruby/debug

Similar issues

More Ruby issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.