Skip to content

Commit ec1c247

Browse files
Berrysoftkrobelus
authored andcommitted
Fix tty timestamps handling
Closes #11238
1 parent bbf678e commit ec1c247

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1072,7 +1072,7 @@ pub static PROGRAM_NAME: OnceCell<&'static wstr> = OnceCell::new();
10721072
/// the multiline prompt usable. See [#2859](https://github.com/fish-shell/fish-shell/issues/2859)
10731073
/// and <https://github.com/Microsoft/BashOnWindows/issues/545>
10741074
pub fn has_working_tty_timestamps() -> bool {
1075-
if cfg!(target_os = "windows") {
1075+
if cfg!(any(target_os = "windows", target_os = "cygwin")) {
10761076
false
10771077
} else if cfg!(target_os = "linux") {
10781078
!is_windows_subsystem_for_linux(WSL::V1)

0 commit comments

Comments
 (0)