diff options
Diffstat (limited to 'Libraries/LibVT')
-rw-r--r-- | Libraries/LibVT/TerminalWidget.cpp | 2 | ||||
-rw-r--r-- | Libraries/LibVT/TerminalWidget.h | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/Libraries/LibVT/TerminalWidget.cpp b/Libraries/LibVT/TerminalWidget.cpp index 52623df22b..4a27091eaa 100644 --- a/Libraries/LibVT/TerminalWidget.cpp +++ b/Libraries/LibVT/TerminalWidget.cpp @@ -96,7 +96,7 @@ TerminalWidget::TerminalWidget(int ptm_fd, bool automatic_size_policy, RefPtr<Co , m_config(move(config)) { set_override_cursor(Gfx::StandardCursor::IBeam); - + set_focus_policy(GUI::FocusPolicy::StrongFocus); set_accepts_emoji_input(true); set_pty_master_fd(ptm_fd); m_cursor_blink_timer = add<Core::Timer>(); diff --git a/Libraries/LibVT/TerminalWidget.h b/Libraries/LibVT/TerminalWidget.h index cfd5de892b..3f83c50229 100644 --- a/Libraries/LibVT/TerminalWidget.h +++ b/Libraries/LibVT/TerminalWidget.h @@ -85,8 +85,6 @@ public: void paste(); void clear_including_history(); - virtual bool accepts_focus() const override { return true; } - Function<void(const StringView&)> on_title_change; Function<void()> on_command_exit; |