Updated Edit
On this page
ANSI escape helpers and path constants for claudewheel.
#claudewheel.constants
#claudewheel.constants
Filesystem paths, ANSI escape sequences, and terminal color helpers.
#csi
python
def csi(code: str) -> strBuild a CSI escape sequence from the given parameter string.
#move_to
python
def move_to(row: int, col: int) -> strReturn an ANSI escape sequence that moves the cursor to the given row and column.
#fg_rgb
python
def fg_rgb(r: int, g: int, b: int) -> strReturn an ANSI escape sequence for setting the foreground to an RGB color.
#bg_rgb
python
def bg_rgb(r: int, g: int, b: int) -> strReturn an ANSI escape sequence for setting the background to an RGB color.
#encode_path
python
def encode_path(p: str) -> strEncode an absolute path the way Claude Code does: replace / and . with -.