1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 16:15:10 +00:00

HackStudio: Scroll embedded terminals to bottom upon command execution

It was kinda annoying that you had to scroll down manually every time
you started a new build while looking at some error in the scrollback.
This commit is contained in:
Andreas Kling 2020-11-10 11:47:51 +01:00
parent 9475427d5d
commit 07a2d22c33
3 changed files with 7 additions and 4 deletions

View file

@ -154,6 +154,9 @@ void TerminalWrapper::run_command(const String& command)
}
ASSERT_NOT_REACHED();
}
// (In parent process)
terminal().scroll_to_bottom();
}
void TerminalWrapper::kill_running_command()