bullet-train.zsh
bullet-train.zsh copied to clipboard
Fix display issue when tapping tab for suggestion
If I tap a tab for suggestion with BULLETTRAIN_PROMPT_SEPARATE_LINE=true
, cursor will move up one line. It's because the NEWLINE
is not well recognized by zsh. It's recommended to use precmd
hook to display prompt above cursor.