package terml

  1. Overview
  2. Docs
type cursor_style =
  1. | Default
  2. | BlinkingBlock
  3. | SteadyBlock
  4. | BlinkingUnderscore
  5. | SteadyUnderscore
  6. | BlinkingBar
  7. | SteadyBar
type t =
  1. | Hide
  2. | Show
  3. | NextLine
  4. | SavePosition
  5. | PreviousLine
  6. | EnableBlinking
  7. | RestorePosition
  8. | DisableBlinking
  9. | MoveTo of int * int
  10. | ToColumn of int
  11. | ToRow of int
  12. | Up of int
  13. | Right of int
  14. | Down of int
  15. | Left of int
  16. | SetStyle of cursor_style
val move_to : int -> int -> t
val next_line : unit -> t
val previous_line : unit -> t
val to_column : int -> t
val to_row : int -> t
val up : int -> t
val right : int -> t
val down : int -> t
val left : int -> t
val save_position : unit -> t
val restore_position : unit -> t
val hide : unit -> t
val show : unit -> t
val enable_blinking : unit -> t
val disable_blinking : unit -> t
val set_style : cursor_style -> t
val execute : t -> string
OCaml

Innovation. Community. Security.