当我在 SSH 会话的终端中输入长命令时,命令行的内容会向左滚动。
$ echo this is a really long command line that goes on and on and on and on
可能显示为:
$ y long command line that goes on and on and on and on <
我希望命令行改为转到新行。我尝试使用重置行为,$HOME/.inputrc
但没有成功。
set horizontal-scroll-mode Off