Module utils

Module utils 

Source
Expand description

Utility functions for Iris Studio

Common utilities used across the TUI, including string truncation.

Functions§

expand_tabs
Expand tab characters to spaces and strip control characters.
truncate_chars
Truncate a string to a maximum character count, adding “…” if truncated.
truncate_width
Truncate a string to a maximum display width, adding “…” if truncated.