Spectrum_tools.QueryTerminal query functions for detecting current colors.
Provides functions to query xterm-compatible terminals for their current foreground and background colors.
Terminal color querying utilities.
Provides functions to query xterm-compatible terminals for their current foreground and background colors using xterm control sequences.
type terminal_colours = {fg : (Gg.v4, string) Stdlib.result;Foreground color or error message
*)bg : (Gg.v4, string) Stdlib.result;Background color or error message
*)}Terminal foreground and background colors.
module Xterm : sig ... endXterm-compatible terminal query functions.