-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
readline docs: adding events link #8475
readline docs: adding events link #8475
Conversation
If you want, there are a couple of typos in that document that need to be fixed too ( |
LGTM |
Commit message does not follow commit guidelines. |
@@ -90,7 +90,7 @@ The `'pause'` event is emitted when one of the following occur: | |||
|
|||
* The `input` stream is paused. | |||
* The `input` stream is not paused and receives the `SIGCONT` event. (See | |||
events `SIGTSTP` and `SIGCONT`) | |||
events [SIGTSTP][] and [SIGCONT][]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hm, these should probably keep their ```? I think the signal names are marked as code everywhere else here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@addaleax as a reader, I do not know when I'm reading the pause event
where the other events are placed, but for some reason, the documentation tells me that they are related, I feel like we can improve the UX adding links instead ``. We are just adding a shortcut.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@italoacasas Maybe I’m misunderstanding you, but what I mean is that they should be links and code blocks, i.e. [
SIGTSTP][] and [
SIGCONT][]
(and at the bottom of the file [
SIGTSTP]: readline.html#readline_event_sigtstp
, too). I’m totally agreeing that adding links makes sense here!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😳 my bad. I was the one who did not understand you, it was clear what you meant in the first comment.
LGTM |
1 similar comment
LGTM |
PR-URL: #8475 Reviewed-By: Brian White <mscdex@mscdex.net> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Landed in 53178f9, thanks! |
PR-URL: #8475 Reviewed-By: Brian White <mscdex@mscdex.net> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Checklist
Affected core subsystem(s)
Description of change
I add two missing links to the
readline
documentation