简体   繁体   中英

zsh auto-complete overflows emacs term-mode buffer

I'm running zsh inside multi-term.el (which, as I understand it, is almost identical to term-mode with some additional commands) in character mode.

Edit: emacs 24.5.1 in a terminal ( -nw ), zsh 5.0.2, https://github.com/ayrtonmassey/config for my full config

When I hit TAB to invoke zsh's auto-complete, if the prompt is at the bottom of the screen the auto-complete options are hidden. This only happens on specific auto-completions: for example, pressing TAB after cd does not show the list of possible files/directories, but auto-completing names of executable files (eg typing b and hitting TAB ) will show all the possible executables.

The currently selected auto-complete value is shown beside the prompt in all cases.

I assume this is something to do with it not scrolling down to show the output, but I can't find any more information.

我有同样的问题,并与自定义组摆弄后term ,似乎设置了可变term-scroll-show-maximum-output为非零值,解决了这个问题(至少对于ansi-term )。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM