Method: Reline::Windows#hide_cursor
- Defined in:
- lib/reline/io/windows.rb
#hide_cursor ⇒ Object
443 444 445 446 447 448 |
# File 'lib/reline/io/windows.rb', line 443 def hide_cursor size = 100 visible = 0 # 0 means false cursor_info = [size, visible].pack('Li') call_with_console_handle(@SetConsoleCursorInfo, cursor_info) end |