如何清除与ncurses的特定行? [英] How to clear a specific line with NCurses?
本文介绍了如何清除与ncurses的特定行?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何清除与ncurses的特定行?
How to clear a specific line with NCurses?
我需要擦拭屏幕上的线路没有重绘整个事情。的我该怎么办呢?的
I need to wipe a line on the screen without redrawing the whole thing. How do I do that?
推荐答案
您可以在您要清除,然后调用的 clrtoeol
功能。
You can position on the line you want to clear and then call clrtoeol
function.
这篇关于如何清除与ncurses的特定行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文