mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-30 03:01:15 -03:00
Fix the longstanding hang-on-exit bug in eterm, as well as making sure the history is saved when the terminal emulator exits
darcs-hash:20060514101623-ac50b-f8ce693ec111e3c158640ef8de309bf7e5484c5b.gz
This commit is contained in:
7
reader.h
7
reader.h
@@ -21,7 +21,7 @@ int reader_read( int fd);
|
||||
/**
|
||||
Tell the shell that it should exit after the currently running command finishes.
|
||||
*/
|
||||
void reader_exit( int do_exit );
|
||||
void reader_exit( int do_exit, int force );
|
||||
|
||||
/**
|
||||
Check that the reader is in a sane state
|
||||
@@ -162,5 +162,10 @@ void reader_replace_current_token( wchar_t *new_token );
|
||||
*/
|
||||
void reader_handle_int( int signal );
|
||||
|
||||
/**
|
||||
This function returns true if fish is exiting by force, i.e. because stdin died
|
||||
*/
|
||||
int reader_exit_forced();
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user