summaryrefslogtreecommitdiff
path: root/Libraries/LibVT/TerminalWidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibVT/TerminalWidget.h')
-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;