ctrl-c handled well, but not ctrl-d #95
Labels
No Label
bug
compatibility
documentation
duplicate
enhancement
future release
help wanted
invalid
non-code
question
refactor
testing
this release
wontfix
No Milestone
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: cmccabe/linkulator2#95
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
exiting with ctrl-d makes linkulator unhappy:
This should easy enough to handle, but not sure how it should work. What is the desired behaviour if you enter End Of File immediately at a prompt?
I'm guessing the answer is to gracefully handle it, and do one of the following:
Vim, man and lynx seem to disregard CTRL+D at input prompts. Maybe this is the better option?
Ignoring it would be a decent option. The other option would be to quit linkulator as with ctrl-c. ctrl-d exits a shell session, and that is likely what someone is expecting when they enter it. But ignoring it does no harm.
Yep! I've been "quitting" (i.e., crashing) linkulator with ctrl-d just by absentmindedly thinking it'll work like bash, and just came here to suggest exactly this kind of feature. Though, ignoring ctrl-d would at least have the benefit of letting me realize what I'm doing, and then quit it cleanly so it remembers read/unread stuff. Either way.