Rails 控制台(END)怎么过去呢? [英] Rails console (END) how to get past it?

查看:47
本文介绍了Rails 控制台(END)怎么过去呢?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在 Rails 控制台中工作,我将一个很长的散列粘贴到控制台中,当我滚动到它的底部时,它有令牌 (END) 但我发现绕过它的唯一方法是退出使用 CTRL+Z 控制台.这违背了我使用控制台测试一些代码的目的.有没有其他方法可以绕过那个 (END) 令牌?

working in the Rails console, I pasted a very long hash into the console and when I scrolled ot the bottom of it it has the token (END) but the only way I've found to get past it is to exit the console with CTRL+Z. This defeats my purpose in using the console for testing some code out. Is there any other way to get past that (END) token?

推荐答案

偶然发现了这个问题,经过一些尝试后我找到了解决方案 :)

stumbled over this problem, after some tries I found the solution :)

shift + Q

正如@Paul 所提到的,只有 Q 就足够了.

as mentioned by @Paul, only Q will suffice.

这篇关于Rails 控制台(END)怎么过去呢?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆