From 1f554886a8ed489137909fa838ac5794a08de294 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Sun, 22 May 2022 06:50:18 -0700 Subject: [PATCH] fix build warning on !windows --- wezterm-input-types/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/wezterm-input-types/src/lib.rs b/wezterm-input-types/src/lib.rs index 15217714f..6dc14f6b6 100644 --- a/wezterm-input-types/src/lib.rs +++ b/wezterm-input-types/src/lib.rs @@ -1252,6 +1252,7 @@ impl Default for WindowDecorations { /// to US keyboard layout (particularly the punctuation characters /// produced in combination with SHIFT) that may not be 100% /// the right thing to do here for users with non-US layouts. +#[cfg(windows)] fn ctrl_mapping(c: char) -> Option { // Please also sync with the copy of this function that // lives in termwiz :-/