Crash when insert space to the command line
### Version

moe v0.3.0

Git hash: 0be0224d94d2db1b46cf705d12941d7adae0dc49
Build type: Release

### Environment

_No response_

### Category

Major — The software does not fulfill the task it is designed for.

### Steps to Reproduce

1. `:`
2. `Tab`
3. ` ` (Space)

### Detailed Description

_No response_