Can I clean the repl?

后端 未结 8 1877
被撕碎了的回忆
被撕碎了的回忆 2020-12-23 13:50

I have played with a lot of code in a repl console, how can I clear it? I would like a fresh one without restarting it. Can that be done?

8条回答
  •  爱一瞬间的悲伤
    2020-12-23 14:30

    In EMACS/slime REPLs C-c C-o clears the last output (in case you've typed something that gave a very long answer) C-c M-o clears the whole thing

    In GNOME terminals, you've got a menu option Terminal/Reset and Clear

提交回复
热议问题