Page MenuHomePhabricator

Improve PhutilConsole rendering support for ANSI escape sequences
ClosedPublic

Authored by epriestley on Nov 23 2016, 3:35 PM.
Tags
None
Referenced Files
Unknown Object (File)
Apr 2 2026, 4:01 PM
Unknown Object (File)
Mar 14 2026, 11:11 AM
Unknown Object (File)
Mar 3 2026, 8:56 AM
Unknown Object (File)
Feb 26 2026, 1:38 AM
Unknown Object (File)
Feb 7 2026, 7:50 PM
Unknown Object (File)
Feb 6 2026, 1:46 PM
Unknown Object (File)
Jan 14 2026, 11:20 AM
Unknown Object (File)
Jan 13 2026, 8:34 AM
Subscribers
None

Details

Summary

Ref T10895. Currently, if you try to pass tsprintf(...) to this stuff, it gets upset.

Support rendering PhutilTerminalString properly, with indenting/wrapping.

Test Plan

Wrote code with addParagraph(tsprintf(...)) and ran it, saw nice ANSI colors and formatting.

Diff Detail

Repository
rPHU libphutil
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Improve PhutilConsole rendering support for ANSI escape sequences.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.
This revision is now accepted and ready to land.Nov 23 2016, 3:54 PM
This revision was automatically updated to reflect the committed changes.