diff options
| author | troido <troido@protonmail.com> | 2019-10-09 00:04:08 +0200 |
|---|---|---|
| committer | troido <troido@protonmail.com> | 2019-10-09 00:04:08 +0200 |
| commit | 4291b62cd7c2dd58932c4bb3efde293dbd7fe309 (patch) | |
| tree | dd211686564ebcf69eb3e0606a022de0ae3fe0d7 | |
| parent | ee27ed9af13bd2e9f5de4d69830c5a88a6cdf219 (diff) | |
equipment and food are now ECS
| -rw-r--r-- | asciifarm/client/inputhandler.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/asciifarm/client/inputhandler.py b/asciifarm/client/inputhandler.py index 0657749..4281c01 100644 --- a/asciifarm/client/inputhandler.py +++ b/asciifarm/client/inputhandler.py @@ -87,7 +87,7 @@ class InputHandler: elif key == "^I": # tab # return to game but keep entered string self.typing = False - elif key.isprintable(): + elif key.isprintable() and len(key) == 1: self.string = self.string[:self.cursor] + key + self.string[self.cursor:] self.cursor += len(key) |
