diff options
author | June McEnroe <june@causal.agency> | 2018-08-24 22:10:59 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2018-08-24 22:10:59 -0400 |
commit | 601b8aab6399a060e220827b68fa05a12766a9c8 (patch) | |
tree | 293a06393e50c9f0a909febef1fbec27d6a3c93a | |
parent | Separate 8, 9 and *, ( (diff) | |
download | torus-601b8aab6399a060e220827b68fa05a12766a9c8.tar.gz torus-601b8aab6399a060e220827b68fa05a12766a9c8.zip |
Always interpret space as space
-rw-r--r-- | client.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/client.c b/client.c index a4742b2..6ba1cf6 100644 --- a/client.c +++ b/client.c @@ -291,6 +291,7 @@ static void cellSwap(int8_t dx, int8_t dy) { } static uint8_t inputCell(wchar_t ch) { + if (ch == ' ') return ' '; if (ch < 0x80) return (uint8_t)ch + input.shift; for (size_t i = 0; i < ARRAY_LEN(CP437); ++i) { if (ch == CP437[i]) return i; |