mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2024-12-23 10:21:15 +01:00
78e4379711
$max_cursor_pos in this case was not the correct value to use. It was calculated based on the old length of the $BUFFER. After the suggestion is accepted, we need to recalculate the new max cursor length and use it to set the $CURSOR. Fixes issue #452. Follow-up to issue #302 (PR #450). |
||
---|---|---|
.. | ||
strategies | ||
async.zsh | ||
bind.zsh | ||
config.zsh | ||
fetch.zsh | ||
highlight.zsh | ||
start.zsh | ||
util.zsh | ||
widgets.zsh |