summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibVT
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibVT')
-rw-r--r--Userland/Libraries/LibVT/Terminal.cpp2
-rw-r--r--Userland/Libraries/LibVT/TerminalWidget.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/Userland/Libraries/LibVT/Terminal.cpp b/Userland/Libraries/LibVT/Terminal.cpp
index 27c5e9cf4d..39cf984b7c 100644
--- a/Userland/Libraries/LibVT/Terminal.cpp
+++ b/Userland/Libraries/LibVT/Terminal.cpp
@@ -1264,7 +1264,7 @@ void Terminal::execute_osc_sequence(OscParameters parameters, u8 last_byte)
// FIXME: the split breaks titles containing semicolons.
// Should we expose the raw OSC string from the parser? Or join by semicolon?
#ifndef KERNEL
- m_current_window_title = stringview_ify(1).to_string();
+ m_current_window_title = stringview_ify(1).to_deprecated_string();
m_client.set_window_title(m_current_window_title);
#endif
}
diff --git a/Userland/Libraries/LibVT/TerminalWidget.cpp b/Userland/Libraries/LibVT/TerminalWidget.cpp
index 039a97b25a..a53d5a6b9a 100644
--- a/Userland/Libraries/LibVT/TerminalWidget.cpp
+++ b/Userland/Libraries/LibVT/TerminalWidget.cpp
@@ -980,7 +980,7 @@ DeprecatedString TerminalWidget::selected_text() const
}
}
- return builder.to_string();
+ return builder.to_deprecated_string();
}
int TerminalWidget::first_selection_column_on_row(int row) const
@@ -1153,7 +1153,7 @@ void TerminalWidget::drop_event(GUI::DropEvent& event)
if (url.scheme() == "file")
send_non_user_input(url.path().bytes());
else
- send_non_user_input(url.to_string().bytes());
+ send_non_user_input(url.to_deprecated_string().bytes());
first = false;
}