mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-27 14:45:13 +08:00
Clarify the role of the 'in' param in inputter_t constructor
This commit is contained in:
parent
48c50d202b
commit
050a211838
@ -39,7 +39,8 @@ class inputter_t {
|
|||||||
char_event_t read_characters_no_readline();
|
char_event_t read_characters_no_readline();
|
||||||
|
|
||||||
public:
|
public:
|
||||||
inputter_t(parser_t &parser, int in = 0);
|
/// Construct from a parser, and the fd from which to read.
|
||||||
|
explicit inputter_t(parser_t &parser, int in = STDIN_FILENO);
|
||||||
|
|
||||||
/// Read a character from stdin. Try to convert some escape sequences into character constants,
|
/// Read a character from stdin. Try to convert some escape sequences into character constants,
|
||||||
/// but do not permanently block the escape character.
|
/// but do not permanently block the escape character.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user