mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 04:09:13 +00:00
HackStudio: Clear embedded terminal upon opening a different project
This commit is contained in:
parent
6076deae1d
commit
971a5a70d1
Notes:
sideshowbarker
2024-07-18 05:24:07 +09:00
Author: https://github.com/donaghylennon
Commit: 971a5a70d1
Pull-request: https://github.com/SerenityOS/serenity/pull/9185
Reviewed-by: https://github.com/itamar8910 ✅
3 changed files with 7 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue