From 5368d474edc81d2d4b4b3ab73ea533434b3195b2 Mon Sep 17 00:00:00 2001 From: Matthew Date: Wed, 17 Sep 2025 04:06:47 +1000 Subject: [PATCH] fix incorrect input on InputToChar --- platform.d | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform.d b/platform.d index 9a02e96..251cdd2 100644 --- a/platform.d +++ b/platform.d @@ -928,7 +928,7 @@ InputToChar(Input input, bool modified = false) case Input.SingleQuote: case Input.Comma: case Input.Period: - case Input.Question: + case Input.Slash: case Input.Zero: .. case Input.Nine: { u32 code = cast(u32)(0xFF & input); @@ -959,7 +959,7 @@ InputToChar(Input input, bool modified = false) case Input.SingleQuote: return '"'; case Input.Comma: return '<'; case Input.Period: return '>'; - case Input.Question: return '/'; + case Input.Slash: return '?'; default: return 0; } }