Testing #241771 https://github.com/user-attachments/assets/e381462c-c3b8-40e9-b36d-d80623cf2561 Attached a video of the issue. In it I: 1. Start with two dirs: `foldernospace` and `folder with space` in the current dir 1. Type `cd fo` to get suggestions for `foldernospace` 2. Accept the suggestion with tab. This only completes up to `folderno` instead of the entire completion 3. If I then press backspace, it then adds all of `foldernospace`