Skip to content
instance method

IO#cursor=

([ ::Integer, ::Integer ]) -> [ ::Integer, ::Integer ]
io.cursor = [line, column] → io

Same as io.goto(line, column)

See IO#goto.

You must require ‘io/console’ to use this method.

See also #cursor #cursor_down #cooked! #cursor_left also in 4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0