Documentation
¶
Overview ¶
util provides general utility functions for promql-cli
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TermDimensions ¶
TermDimensions stores the width and height of the current terminal window Used when setting the ascii graph size for range queries
func TerminalSize ¶
func TerminalSize() (dimensions TermDimensions, err error)
TerminalSize returns the current height and width [h,w] of the terminal promql is executed in.
Click to show internal directories.
Click to hide internal directories.