From 981a71555fb0080340caf038381e28bb07c34f32 Mon Sep 17 00:00:00 2001 From: David Adam Date: Mon, 2 Feb 2015 10:11:55 +0800 Subject: [PATCH] reader.cpp: don't set title in dumb terminals Closes #1907. --- reader.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/reader.cpp b/reader.cpp index b2f2b4a6b..f9299a3c9 100644 --- a/reader.cpp +++ b/reader.cpp @@ -943,6 +943,9 @@ void reader_write_title(const wcstring &cmd) return; } + if (contains(term, L"dumb")) + return; + if (strstr(n, "tty") || strstr(n, "/vc/")) return; }