1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-08 23:17:35 +00:00

HackStudio: Clear embedded terminal upon opening a different project

This commit is contained in:
Lennon Donaghy 2021-08-01 21:40:05 +01:00 committed by Andreas Kling
parent 6076deae1d
commit 971a5a70d1
3 changed files with 7 additions and 0 deletions

View file

@ -200,6 +200,7 @@ void HackStudioWidget::open_project(const String& root_path)
m_open_files_vector.clear();
add_new_editor(*m_editors_splitter);
m_todo_entries_widget->clear();
m_terminal_wrapper->clear_including_history();
}
m_project = Project::open_with_root_path(root_path);
VERIFY(m_project);