mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
termui: add show_cursor() and hide_cursor() (#9087)
This commit is contained in:
@ -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 != '' {
|
||||
|
Reference in New Issue
Block a user