mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-17 07:12:45 +08:00
Remove job_t::wants_terminal
This now lives in the job group, not individual jobs.
This commit is contained in:
parent
ba8b89873e
commit
7f8c00c20a
|
@ -1297,7 +1297,6 @@ end_execution_reason_t parse_execution_context_t::run_1_job(const ast::job_t &jo
|
|||
(ctx.job_group && ctx.job_group->wants_job_control());
|
||||
|
||||
job_t::properties_t props{};
|
||||
props.wants_terminal = wants_job_control && !ld.is_event;
|
||||
props.initial_background = job_node.bg.has_value();
|
||||
props.skip_notification =
|
||||
ld.is_subshell || ld.is_block || ld.is_event || !parser->is_interactive();
|
||||
|
|
|
@ -409,9 +409,6 @@ class job_t {
|
|||
/// special job that should not be reported.
|
||||
bool skip_notification{};
|
||||
|
||||
/// Whether the job wants to own the terminal when in the foreground.
|
||||
bool wants_terminal{};
|
||||
|
||||
/// Whether the job had the background ampersand when constructed, e.g. /bin/echo foo &
|
||||
/// Note that a job may move between foreground and background; this just describes what the
|
||||
/// initial state should be.
|
||||
|
|
Loading…
Reference in New Issue
Block a user