mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2025-12-06 07:10:40 +01:00
Use zle -w flag to set WIDGET appropriately when calling orig widget
This commit is contained in:
@@ -176,7 +176,7 @@ _zsh_autosuggest_invoke_original_widget() {
|
||||
shift
|
||||
|
||||
if [ $widgets[$original_widget_name] ]; then
|
||||
zle $original_widget_name -- $@
|
||||
zle $original_widget_name -w -- $@
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user