summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibVT
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-02-27 17:49:08 +0100
committerAndreas Kling <kling@serenityos.org>2021-02-27 17:49:08 +0100
commit2c1f71055fd0cfc534aeb0fbb6ba0a851e7ee7dc (patch)
tree586f3efa956c47fcc8416bd94ce0447bae8d61e4 /Userland/Libraries/LibVT
parent340180ba057096d8cca917d2774c5a75c4b15975 (diff)
downloadserenity-2c1f71055fd0cfc534aeb0fbb6ba0a851e7ee7dc.zip
LibVT: Put TerminalWidget in the VT namespace :^)
Diffstat (limited to 'Userland/Libraries/LibVT')
-rw-r--r--Userland/Libraries/LibVT/TerminalWidget.cpp4
-rw-r--r--Userland/Libraries/LibVT/TerminalWidget.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/Userland/Libraries/LibVT/TerminalWidget.cpp b/Userland/Libraries/LibVT/TerminalWidget.cpp
index 1509511e5e..b9e09e716b 100644
--- a/Userland/Libraries/LibVT/TerminalWidget.cpp
+++ b/Userland/Libraries/LibVT/TerminalWidget.cpp
@@ -58,6 +58,8 @@
#include <sys/ioctl.h>
#include <unistd.h>
+namespace VT {
+
void TerminalWidget::set_pty_master_fd(int fd)
{
m_ptm_fd = fd;
@@ -1130,3 +1132,5 @@ void TerminalWidget::set_font_and_resize_to_fit(const Gfx::Font& font)
set_font(font);
resize(widget_size_for_font(font));
}
+
+}
diff --git a/Userland/Libraries/LibVT/TerminalWidget.h b/Userland/Libraries/LibVT/TerminalWidget.h
index 0972a65631..abbb59252f 100644
--- a/Userland/Libraries/LibVT/TerminalWidget.h
+++ b/Userland/Libraries/LibVT/TerminalWidget.h
@@ -37,6 +37,8 @@
#include <LibVT/Range.h>
#include <LibVT/Terminal.h>
+namespace VT {
+
class TerminalWidget final
: public GUI::Frame
, public VT::TerminalClient {
@@ -221,3 +223,5 @@ private:
Gfx::IntPoint m_left_mousedown_position;
};
+
+}