mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:37:35 +00:00
HackStudio: Clear embedded terminal upon opening a different project
This commit is contained in:
parent
6076deae1d
commit
971a5a70d1
3 changed files with 7 additions and 0 deletions
|
@ -152,6 +152,11 @@ void TerminalWrapper::kill_running_command()
|
|||
[[maybe_unused]] auto rc = killpg(m_pid, SIGTERM);
|
||||
}
|
||||
|
||||
void TerminalWrapper::clear_including_history()
|
||||
{
|
||||
m_terminal_widget->clear_including_history();
|
||||
}
|
||||
|
||||
TerminalWrapper::TerminalWrapper(bool user_spawned)
|
||||
: m_user_spawned(user_spawned)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue