summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibVT/Terminal.h
diff options
context:
space:
mode:
authorLiav A <liavalb@gmail.com>2022-07-14 05:53:13 +0300
committerAndreas Kling <kling@serenityos.org>2022-07-14 13:13:48 +0200
commitb22149601a889b57651449ef994d10baf92886d6 (patch)
treeb5437aedb14c398c2a95eb75944937e401d063d3 /Userland/Libraries/LibVT/Terminal.h
parente93d19bbb10da0337c77ef7a578d89c56e5e2fdd (diff)
downloadserenity-b22149601a889b57651449ef994d10baf92886d6.zip
LibVT: Remove Vector<Kernel::KString> title stack
When using the kernel console, there's no such concept of title at all. Also, this makes vim to crash the kernel due to dereferencing a null pointer, so let's remove this as this is clearly not needed when using the kernel virtual console.
Diffstat (limited to 'Userland/Libraries/LibVT/Terminal.h')
-rw-r--r--Userland/Libraries/LibVT/Terminal.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/Userland/Libraries/LibVT/Terminal.h b/Userland/Libraries/LibVT/Terminal.h
index 65794d54e1..84f735f1ce 100644
--- a/Userland/Libraries/LibVT/Terminal.h
+++ b/Userland/Libraries/LibVT/Terminal.h
@@ -435,10 +435,7 @@ protected:
Attribute m_current_attribute;
Attribute m_saved_attribute;
-#ifdef KERNEL
- OwnPtr<Kernel::KString> m_current_window_title;
- NonnullOwnPtrVector<Kernel::KString> m_title_stack;
-#else
+#ifndef KERNEL
String m_current_window_title;
Vector<String> m_title_stack;
#endif