Kitty Graphics Protocol in OCaml
terminal
graphics
ocaml
1(** Kitty Graphics Protocol Detection
2
3 Detect terminal graphics support capabilities. *)
4
5val make_query : unit -> string
6(** Generate a query command to test graphics support. *)
7
8val supports_graphics : Kgp_response.t option -> da1_received:bool -> bool
9(** Determine if graphics are supported based on query results. *)