From 1bc81effb2ce2f975e56692df4f9e6d33f95a004 Mon Sep 17 00:00:00 2001 From: "Adam D. Ruppe" Date: Sun, 9 Feb 2020 07:37:01 -0500 Subject: [PATCH] oops forgot to compile on windows :( --- terminal.d | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/terminal.d b/terminal.d index bd7269f..31bca44 100644 --- a/terminal.d +++ b/terminal.d @@ -924,8 +924,10 @@ struct Terminal { } void demandUserAttention() { - if(!terminalInFamily("linux")) - writeStringRaw("\033]5001;1\007"); + version(Posix) { + if(!terminalInFamily("linux")) + writeStringRaw("\033]5001;1\007"); + } } void requestCopyToClipboard(string text) {