Closed trungdq88 closed 3 years ago
When the terminal width is less than the width of the auto-completed command, the cursor gets misaligned.
Sorry for the vague description, I tried to convey the idea the best I can but this one is very difficult to explain. Please take a look at this GIF:
If I disable the autocomplete plugin, the problem goes away. Can someone help, please? Thanks.
After reading this https://github.com/vercel/hyper/issues/283, I noticed my $PROMPT variable is invalid (missing some important format characters). I corrected it and the issue went away.
$PROMPT
Describe the bug
When the terminal width is less than the width of the auto-completed command, the cursor gets misaligned.
Reproduce
Sorry for the vague description, I tried to convey the idea the best I can but this one is very difficult to explain. Please take a look at this GIF:
If I disable the autocomplete plugin, the problem goes away. Can someone help, please? Thanks.
Desktop