mirror of
https://github.com/vlang/v.git
synced 2025-09-14 15:02:33 +03:00
termui: add show_cursor() and hide_cursor() (#9087)
This commit is contained in:
parent
9bb073580e
commit
a64d9b3e12
3 changed files with 16 additions and 2 deletions
|
@ -68,7 +68,8 @@ pub fn init(cfg Config) &Context {
|
|||
}
|
||||
|
||||
if ctx.cfg.hide_cursor {
|
||||
print('\x1b[?25l')
|
||||
ctx.hide_cursor()
|
||||
ctx.flush()
|
||||
}
|
||||
|
||||
if ctx.cfg.window_title != '' {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue