mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-29 06:13:20 +00:00
Enable OSC 0 when running in WezTerm
This commit is contained in:
parent
be74c281b6
commit
2575145682
1 changed files with 2 additions and 1 deletions
|
@ -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
|
/// 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.
|
/// 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",
|
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) {
|
static bool does_term_support_setting_title(const environment_t &vars) {
|
||||||
const auto term_var = vars.get(L"TERM");
|
const auto term_var = vars.get(L"TERM");
|
||||||
if (term_var.missing_or_empty()) return false;
|
if (term_var.missing_or_empty()) return false;
|
||||||
|
|
Loading…
Reference in a new issue