Documentation
¶
Overview ¶
Package clear implements the `clear` built-in. `clear` writes the ANSI clear-screen sequence `\033[H\033[2J` to stdout and exits 0.
Index ¶
Constants ¶
View Source
const ANSIClear = "\x1b[H\x1b[2J"
ANSIClear is the byte sequence written. Exposed so the test (and a future trace consumer) can compare against the canonical literal without re-deriving it.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.