如何清除Haskell中的终端屏幕? [英] How do I clear the terminal screen in Haskell?
本文介绍了如何清除Haskell中的终端屏幕?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
:! cls 在windows中
:!清除在Linux和OS X下
How can I clear a terminal screen after my user has selected an option from my application's menu?
解决方案
:! run the shell command
:! cls under windows
:! clear under linux and OS X
这篇关于如何清除Haskell中的终端屏幕?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文