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