-
-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
max-lines has no effect #300
Comments
That’s because I removed the |
Actually,
cd $(mktemp -d -t autest)
git clone --depth 1 -- https://github.com/marlonrichert/zsh-autocomplete.git
print "
PS1='%# ' PS2=' ' RPS2='< %^'; setopt transientrprompt
zstyle ':autocomplete:*' list-lines 2
source ~/zsh-autocomplete/zsh-autocomplete.plugin.zsh
" > .zshrc
exec env -i HOME=$PWD TERM=$TERM SHELL=$SHELL $SHELL -d
I have |
I opened a new #302 |
Is there a way to ensure that completions use only a maximum number/percentage of lines, and without shifting the completion to the top of the terminal window? Use case: I often want to look at the previous command's output when crafting my new command.
In the above example, |
Because your prompt is not at the bottom of the screen. If the space is already available, it will be filled. |
Yes, the |
@marlonrichert Actually it frequently takes my prompt from the bottom of the screen to the top, completely wiping out the information above the command line. |
@vitaly How tall is your terminal? If it’s 16 lines or less, then that’s expect behavior. You can use |
As I mentioned I have |
looks like |
looks like there's no |
Thanks! I will have to think of some kind of workaround for it. In the meantime, can you please open a new issue for this? 🙂 |
zsh-autocomplete
version: b164ae7Steps to reproduce:
Results:
For a terminal window of size height=8 and width=32,
Expected:
The text was updated successfully, but these errors were encountered: