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
F12818479: D16926.diff
Thu, Mar 28, 4:53 AM
Unknown Object (File)
Mon, Mar 25, 3:28 PM
Unknown Object (File)
Tue, Mar 19, 7:16 PM
Unknown Object (File)
Sun, Mar 3, 9:06 PM
Unknown Object (File)
Feb 19 2024, 12:32 PM
Unknown Object (File)
Feb 11 2024, 5:47 PM
Unknown Object (File)
Feb 3 2024, 1:07 PM
Unknown Object (File)
Jan 21 2024, 9:21 PM
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.