mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-01 01:34:00 +08:00
remove unused function
The fish_key_reader program was the only user of the
`set_wait_on_escape_ms()` function and that use was removed with commit
0461743
. So remove it from the main fish code. This was found by `make
lint`.
This commit is contained in:
parent
21521b2953
commit
d982427216
|
@ -158,9 +158,6 @@ static wint_t readb() {
|
|||
return arr[0];
|
||||
}
|
||||
|
||||
// Directly set the input timeout.
|
||||
void set_wait_on_escape_ms(int ms) { wait_on_escape_ms = ms; }
|
||||
|
||||
// Update the wait_on_escape_ms value in response to the fish_escape_delay_ms user variable being
|
||||
// set.
|
||||
void update_wait_on_escape_ms() {
|
||||
|
|
|
@ -86,9 +86,6 @@ void input_common_destroy();
|
|||
/// Adjust the escape timeout.
|
||||
void update_wait_on_escape_ms();
|
||||
|
||||
/// Set the escape timeout directly.
|
||||
void set_wait_on_escape_ms(int ms);
|
||||
|
||||
/// Function used by input_readch to read bytes from stdin until enough bytes have been read to
|
||||
/// convert them to a wchar_t. Conversion is done using mbrtowc. If a character has previously been
|
||||
/// read and then 'unread' using \c input_common_unreadch, that character is returned. If timed is
|
||||
|
|
Loading…
Reference in New Issue
Block a user