mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:37:34 +00:00
Shell: Warn the user about active jobs on exit
And make sure that the user means to exit and kill current jobs before exiting.
This commit is contained in:
parent
c23c354779
commit
b4ca563637
2 changed files with 12 additions and 0 deletions
|
@ -186,6 +186,7 @@ private:
|
|||
ExitCodeOrContinuationRequest::ContinuationRequest m_should_continue { ExitCodeOrContinuationRequest::Nothing };
|
||||
StringBuilder m_complete_line_builder;
|
||||
bool m_should_break_current_command { false };
|
||||
bool m_should_ignore_jobs_on_next_exit { false };
|
||||
};
|
||||
|
||||
static constexpr bool is_word_character(char c)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue