diff options
author | Andreas Kling <kling@serenityos.org> | 2020-12-30 13:42:16 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-12-30 13:42:16 +0100 |
commit | 2c9147154c2e3ec0e6030bd06237674e89ef9f10 (patch) | |
tree | fdfb405e29fa4e7f348714d6826c3c1d6a1dc360 /Libraries/LibVT | |
parent | 04e3bcfa75deaa0dc6e55241b8d8142440af5e10 (diff) | |
download | serenity-2c9147154c2e3ec0e6030bd06237674e89ef9f10.zip |
Terminal+LibVT: Add settings window to the terminal context menu
Diffstat (limited to 'Libraries/LibVT')
-rw-r--r-- | Libraries/LibVT/TerminalWidget.h | 2 |
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; |