Closed M100K300 closed 2 years ago
Changes proposed in this pull request: Issue #41 12.2 crashes when opening a command line and pressing space.
Fixes Checking if the input consists only of spaces and trimming them down if it is. This way all spaces before the command won't be parsed.
Is this just for the forge version? Also, this is kinda a bit hacky, but so is most of the tab completion code so I'll merge it (command completion probably needs to be rewritten lol).
Changes proposed in this pull request: Issue #41 12.2 crashes when opening a command line and pressing space.
Fixes Checking if the input consists only of spaces and trimming them down if it is. This way all spaces before the command won't be parsed.