claudewheel v0.15.1 /claudewheel.constants
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) -> str

Build a CSI escape sequence from the given parameter string.

#move_to

python
def move_to(row: int, col: int) -> str

Return 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) -> str

Return an ANSI escape sequence for setting the foreground to an RGB color.

#bg_rgb

python
def bg_rgb(r: int, g: int, b: int) -> str

Return an ANSI escape sequence for setting the background to an RGB color.

#encode_path

python
def encode_path(p: str) -> str

Encode an absolute path the way Claude Code does: replace / and . with -.