mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2025-10-23 15:16:27 +08:00
$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). |
||
|---|---|---|
| .. | ||
| integrations | ||
| options | ||
| strategies | ||
| widgets | ||
| async_spec.rb | ||
| kill_ring_spec.rb | ||
| line_init_spec.rb | ||
| multi_line_spec.rb | ||
| spec_helper.rb | ||
| terminal_session.rb | ||