zsh auto-complete溢出emacs term-mode buffer

时间:2015-07-16 16:57:41

标签: emacs zsh emacs24 multi-term

我在multi-term.el内运行zsh(据我所知,它在字符模式下几乎与term-mode和其他一些命令相同)。

编辑:emacs 24.5.1在终端(-nw),zsh 5.0.2,https://github.com/ayrtonmassey/config中为我的完整配置

当我点击TAB调用zsh的自动完成时,如果提示位于屏幕底部,则会隐藏自动完成选项。这仅在特定自动完成时发生:例如,在TAB 之后按cd显示可能的文件/目录列表,但自动完成可执行文件的名称(例如,键入b并点击TAB)将显示所有可能的可执行文件。

在所有情况下,提示旁边都会显示当前所选的自动完成值。

我认为这与它没有向下滚动以显示输出有关,但我找不到更多信息。

1 个答案:

答案 0 :(得分:3)

I had the same problem, and after fiddling with the Customize group for term, it seems that setting the variable term-scroll-show-maximum-output to a non-nil value solves this problem (at least for ansi-term).

相关问题