简体   繁体   English

zsh自动完成溢出emacs术语模式缓冲区

[英]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. 我在字符模式下的multi-term.el (在我看来,它与term-mode几乎相同,带有一些其他命令)中运行zsh。

Edit: emacs 24.5.1 in a terminal ( -nw ), zsh 5.0.2, https://github.com/ayrtonmassey/config for my full config 编辑:终端中的emacs 24.5.1( -nw ),zsh 5.0.2, https://github.com/ayrtonmassey/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. 当我按下TAB调用zsh的自动完成功能时,如果提示位于屏幕底部,则自动完成功能选项将被隐藏。 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. 这仅在特定的自动完成情况下发生:例如,在cd之后按TAB 不会显示可能的文件/目录列表,但是自动完成可执行文件的名称(例如,键入b并点击TAB )将显示所有可能的可执行文件。

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 )。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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