From 5f5f837ec5519e38722be2ab588344350e25b46b Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Wed, 23 Oct 2019 19:52:34 +0200 Subject: [PATCH] HackStudio: Put the console terminal wrapper in a GTabWidget This will make it straightforward to add more things at this level. --- DevTools/HackStudio/main.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/DevTools/HackStudio/main.cpp b/DevTools/HackStudio/main.cpp index 93c3f8d439..1b9fa097e0 100644 --- a/DevTools/HackStudio/main.cpp +++ b/DevTools/HackStudio/main.cpp @@ -12,6 +12,7 @@ #include #include #include +#include #include #include #include @@ -71,7 +72,10 @@ int main(int argc, char** argv) project_list_view->update(); }; - auto terminal_wrapper = TerminalWrapper::construct(inner_splitter); + auto tab_widget = GTabWidget::construct(inner_splitter); + + auto terminal_wrapper = TerminalWrapper::construct(nullptr); + tab_widget->add_widget("Console", terminal_wrapper); auto statusbar = GStatusBar::construct(widget);