Yutian Li
Yutian Li
The problem reproduces when `zle expand-or-complete` generates a `no matches found` warning, but the cursor is one line above it, and somehow `zle redisplay` erases one line too many on...
I traced it to a few lines in the upstream zsh changelog. Guess it has nothing to do with prezto.
I think I have found the issue. Refering to this patch from zsh. ``` commit 564fb25e821bdd143d23c4e22bc98254b0f8dd59 Author: Barton E. Schaefer Date: Thu Mar 3 13:03:40 2016 -0800 38048: fix "zle...
@mdemierre I think the reason why pure works is that its prompt is drawn by a zsh function instead of `$PROMPT`. It is printed to the screen so `zle` knows...
My guess is that `zle` somehow hard-coded `PROMPT` to have only one line. So this bug occurs when you embed a newline in `PROMPT`. My workaround now is to `print`...
Following up on this issue. The latest ZSH master branch fixed this issue. I believe it is commit `34656ec2f00d6669cef56afdbffdd90639d7b465` that fixed this issue but I have not verified this. So...
I have a temporary fix. You could try but I doubt it would work. Add the following after the initialization code to override the expand function. ``` function revert-expand-or-complete {...
@applee How does it look on your side? It's a hard-coded workaround for "C". It cannot jump to definition on "C" but at least parses for other definitions.
Yes currently I use `string
I can `defvar` a some kind of post completion hook and I'll hand you all the candidates. You can do reordering or filtering or whatever you want. Does this look...