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
F13211593: D16926.diff
Fri, May 17, 5:54 AM
F13208802: D16926.id.diff
Thu, May 16, 7:36 PM
F13195287: D16926.diff
Sun, May 12, 10:16 PM
F13179434: D16926.diff
Wed, May 8, 9:12 PM
Unknown Object (File)
Sat, May 4, 6:45 PM
Unknown Object (File)
Wed, May 1, 11:48 PM
Unknown Object (File)
Wed, May 1, 12:06 AM
Unknown Object (File)
Sun, Apr 28, 4:22 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.