summaryrefslogtreecommitdiff
path: root/Libraries/LibVT
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-12-30 13:42:16 +0100
committerAndreas Kling <kling@serenityos.org>2020-12-30 13:42:16 +0100
commit2c9147154c2e3ec0e6030bd06237674e89ef9f10 (patch)
treefdfb405e29fa4e7f348714d6826c3c1d6a1dc360 /Libraries/LibVT
parent04e3bcfa75deaa0dc6e55241b8d8142440af5e10 (diff)
downloadserenity-2c9147154c2e3ec0e6030bd06237674e89ef9f10.zip
Terminal+LibVT: Add settings window to the terminal context menu
Diffstat (limited to 'Libraries/LibVT')
-rw-r--r--Libraries/LibVT/TerminalWidget.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Libraries/LibVT/TerminalWidget.h b/Libraries/LibVT/TerminalWidget.h
index 6462740759..cb5c2274c0 100644
--- a/Libraries/LibVT/TerminalWidget.h
+++ b/Libraries/LibVT/TerminalWidget.h
@@ -104,6 +104,8 @@ public:
Function<void(const StringView&)> on_title_change;
Function<void()> on_command_exit;
+ GUI::Menu& context_menu() { return *m_context_menu; }
+
private:
// ^GUI::Widget
virtual void event(Core::Event&) override;