mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2024-11-18 09:51:06 +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). |
||
---|---|---|
.. | ||
buffer_max_size_spec.rb | ||
highlight_style_spec.rb | ||
original_widget_prefix_spec.rb | ||
strategy_spec.rb | ||
use_async_spec.rb | ||
widget_lists_spec.rb |