在远程终端上隐藏光标 [英] Hide cursor on remote terminal

查看:183
本文介绍了在远程终端上隐藏光标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个远程终端的开放套接字。使用强制telnet客户端进入字符模式的答案我能够

I have an open socket to a remote terminal. Using the answer to "Force telnet client into character mode" I was able to put that terminal into character mode.

我的问题是,如何使用此方法隐藏远程终端中的光标?

My question is, how do I hide the cursor in the remote terminal using this method?

推荐答案

这是 ncurses 图书馆可以为您做。

This is something that the ncurses library can do for you.

curs_set() 函数可以使光标不可见。

The curs_set() function can make the cursor invisible.

这篇关于在远程终端上隐藏光标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆