mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:17:44 +00:00
Shell: Do not reset the terminal attributes when command is run in bg
Also removes a FIXME that no longer applies.
This commit is contained in:
parent
c296bcc1d9
commit
927e2fc6bc
2 changed files with 8 additions and 8 deletions
|
@ -348,10 +348,6 @@ void Background::dump(int level) const
|
|||
|
||||
RefPtr<Value> Background::run(RefPtr<Shell> shell)
|
||||
{
|
||||
// FIXME: Currently this does not work correctly if `m_command.would_execute()',
|
||||
// as it runs the node, which means nodes likes And and Or will evaluate
|
||||
// all but their last subnode before yielding to this, causing a command
|
||||
// like `foo && bar&` to effectively be `foo && (bar&)`.
|
||||
auto commands = m_command->to_lazy_evaluated_commands(shell);
|
||||
for (auto& command : commands)
|
||||
command.should_wait = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue