From 2575145682a5330100a36eac79aeb9a370fd1867 Mon Sep 17 00:00:00 2001 From: Jean Mertz Date: Tue, 6 Jul 2021 22:13:18 +0200 Subject: [PATCH] Enable OSC 0 when running in WezTerm --- src/env_dispatch.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/env_dispatch.cpp b/src/env_dispatch.cpp index b8bf6fea2..1258bb803 100644 --- a/src/env_dispatch.cpp +++ b/src/env_dispatch.cpp @@ -487,7 +487,8 @@ static bool initialize_curses_using_fallback(const char *term) { /// terminal title if the underlying terminal does so, but will print garbage on terminals that /// don't. Since we can't see the underlying terminal below screen there is no way to fix this. static const wchar_t *const title_terms[] = {L"xterm", L"screen", L"tmux", - L"nxterm", L"rxvt", L"alacritty"}; + L"nxterm", L"rxvt", L"alacritty", + L"wezterm"}; static bool does_term_support_setting_title(const environment_t &vars) { const auto term_var = vars.get(L"TERM"); if (term_var.missing_or_empty()) return false;