pry shell 以长输出中断

pry shell breaks with long output

我刚刚安装了 pry。使用 "pry" 命令似乎可以正常启动。我可以发出基本命令,没问题。但是,如果我发出输出很长的命令,我将无法发出更多命令。例如,如果我发出帮助命令,我会得到以下信息:

[1] pry(main)> help
Help
  help               Show a list of commands or information about a specific command.
...
...
...
Prompts
  simple-prompt      Toggle the simple prompt.
(END)

我可以向下翻页到帮助列表的末尾,并显示“(END)”。但是我无法返回到 REPL(ctrl-C 不起作用)。关于为什么会发生这种情况有什么建议吗?

q到return进入命令模式。