package terml

  1. Overview
  2. Docs

Module Terml.CursorSource

Sourcetype cursor_style =
  1. | Default
  2. | BlinkingBlock
  3. | SteadyBlock
  4. | BlinkingUnderscore
  5. | SteadyUnderscore
  6. | BlinkingBar
  7. | SteadyBar
Sourcetype 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
Sourceval move_to : int -> int -> t
Sourceval next_line : unit -> t
Sourceval previous_line : unit -> t
Sourceval to_column : int -> t
Sourceval to_row : int -> t
Sourceval up : int -> t
Sourceval right : int -> t
Sourceval down : int -> t
Sourceval left : int -> t
Sourceval save_position : unit -> t
Sourceval restore_position : unit -> t
Sourceval hide : unit -> t
Sourceval show : unit -> t
Sourceval enable_blinking : unit -> t
Sourceval disable_blinking : unit -> t
Sourceval set_style : cursor_style -> t
Sourceval execute : t -> string