简体   繁体   中英

What is the best way to clear the console in a window with a running rails server?

I have iTerm2 and I was able to right click on the running server window and select "Clear Buffer" - but I'm not sure this is the right solution. I want to keep my history, I just don't want to have to scroll through ALLLLL of the output logged with the server. I apologize if this is unclear. Below is a gif with type of output that I want to be able to clear, periodically: example of output that i want to clear

cmd-K 将为您清除缓冲区和回滚

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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