mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-29 18:51:15 -03:00
Eliminate a static string from input_terminfo_get_sequence
This commit is contained in:
6
input.h
6
input.h
@@ -117,10 +117,10 @@ bool input_mapping_get(const wcstring &sequence, wcstring &cmd);
|
||||
/**
|
||||
Return the sequence for the terminfo variable of the specified name.
|
||||
|
||||
If no terminfo variable of the specified name could be found, return 0 and set errno to ENOENT.
|
||||
If the terminfo variable does not have a value, return 0 and set errno to EILSEQ.
|
||||
If no terminfo variable of the specified name could be found, return false and set errno to ENOENT.
|
||||
If the terminfo variable does not have a value, return false and set errno to EILSEQ.
|
||||
*/
|
||||
const wchar_t *input_terminfo_get_sequence(const wchar_t *name);
|
||||
bool input_terminfo_get_sequence(const wchar_t *name, wcstring *out_seq);
|
||||
|
||||
/** Return the name of the terminfo variable with the specified sequence */
|
||||
bool input_terminfo_get_name(const wcstring &seq, wcstring &name);
|
||||
|
||||
Reference in New Issue
Block a user