-
-
Notifications
You must be signed in to change notification settings - Fork 79
Tab completion deletes prompt character #179
Comments
Hey @pikeas! Unfortunately I'm having no luck reproducing the issue as described. Would you be able to provide a screen recording using asciicinema of the issue occurring so we can get a better idea of what is happening? |
@matchai Thanks for the quick reply! Here's a recording: https://asciinema.org/a/PGuwaFqRyQ2OzmuIQCDZtn99B Please let me know if you'd like any additional information about my environment. After the above video, I removed |
@pikeas does the issue occur when using a multi-line prompt? (e.g. having If the issue doesn't occur when the prompt is on the next line, make sure you're using iTerm2 v3 and in Preferences > Profiles > Text, use the following settings: Then, add the following to your fish config: # Set the emoji character width
set -g fish_emoji_width 2 |
That did the trick! I already had |
No problem. Glad that solved it! 😄 |
Bug Report
Current Behavior
When pressing
<tab>
to trigger shell completion, the character under the cursor (whether part of the prompt or typed by the user) is deleted.Here are before/after images to demonstrate:
Pressing
<tab>
again does not delete additional characters.So far, this only seems to happen when the
package
section is present.Expected Behavior
The character under the cursor should not be deleted.
Relevant
Fish
ConfigurationEnvironment
The text was updated successfully, but these errors were encountered: