mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-15 23:22:53 +08:00
reader_replace_current_token can be made static
This commit is contained in:
parent
73f1030bde
commit
44bd405ed3
@ -2162,7 +2162,7 @@ static void set_command_line_and_position(const wcstring &new_str, size_t pos)
|
||||
reader_repaint();
|
||||
}
|
||||
|
||||
void reader_replace_current_token(const wchar_t *new_token)
|
||||
static void reader_replace_current_token(const wchar_t *new_token)
|
||||
{
|
||||
|
||||
const wchar_t *begin, *end;
|
||||
|
5
reader.h
5
reader.h
@ -216,11 +216,6 @@ void reader_set_exit_on_interrupt(bool flag);
|
||||
*/
|
||||
int exit_status();
|
||||
|
||||
/**
|
||||
Replace the current token with the specified string
|
||||
*/
|
||||
void reader_replace_current_token(const wchar_t *new_token);
|
||||
|
||||
/**
|
||||
The readers interrupt signal handler. Cancels all currently running blocks.
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user