Expand description
Path formatting, terminal hyperlink, and tag-coloring helpers. Path formatting, terminal hyperlink, and tag-coloring helpers.
Functions§
- colorize_
tag - Colors
tagby its derivedTodoPriority, or returns it unchanged ifoptions.coloredis off. - format_
path - Formats
pathperoptions: absolute ifoptions.full_paths, relative tooptions.base_pathif set, else as-is. - make_
clickable_ link - Builds an OSC 8 terminal hyperlink to
pathatline, showing the formatted path as link text. ReturnsNoneifoptions.clickable_linksis off or the terminal doesn’t advertise hyperlink support. - make_
line_ link - Builds an OSC 8 terminal hyperlink to
pathatline, showing"L{line}"as link text. ReturnsNoneunder the same conditions asmake_clickable_link.