From 8e21d5de92c4c85f55bbef34b6ffadd40a37e3db Mon Sep 17 00:00:00 2001 From: Kurtis Rader Date: Fri, 17 Jun 2016 13:08:25 -0700 Subject: deal with broken ttys on MS Windows The tty device timestamps on MS Windows aren't usable because they're always the current time. So fish can't use them to decide if the entire prompt needs to be repainted. Fixes #2859 --- src/common.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/common.cpp') diff --git a/src/common.cpp b/src/common.cpp index fcbb2465..b0e96789 100644 --- a/src/common.cpp +++ b/src/common.cpp @@ -71,6 +71,8 @@ static rwlock_t termsize_rwlock; static char *wcs2str_internal(const wchar_t *in, char *out); static void debug_shared(const wchar_t msg_level, const wcstring &msg); +bool has_working_tty_timestamps = true; + #ifdef HAVE_BACKTRACE_SYMBOLS // This function produces a stack backtrace with demangled function & method names. It is based on // https://gist.github.com/fmela/591333 but adapted to the style of the fish project. -- cgit v1.2.3