Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我们使用 with 时,是否可以在 urxvt 中禁用滚动tmux?我遇到的问题是该tmux clear-history命令不会清除 urxvt 滚动缓冲区(Shift+Page Up),因此我们在控制台中总是有历史记录。唯一的另一种方法是分离 Tmux 和reset终端以清除此内容。是否有可能使urxvt没有滚动,以便我可以处理tmux您使用时更合乎逻辑的所有内容tmux?
tmux
clear-history
Shift+Page Up
reset
urxvt
您可以设置以下内容~/.Xdefaults以强制 Urxvt 不保留任何历史记录:
~/.Xdefaults
URxvt*saveLines:0
这将呈现Shift + PgUp为无操作,即使在 Tmux 中也是如此。
Shift + PgUp