Homec4science

Improve PhutilConsole rendering support for ANSI escape sequences

Authored by epriestley <git@epriestley.com> on Nov 23 2016, 16:31.

Description

Improve PhutilConsole rendering support for ANSI escape sequences

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.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T10895

Differential Revision: https://secure.phabricator.com/D16926

Details

Committed
epriestley <git@epriestley.com>Nov 23 2016, 17:01
Pushed
aubortMar 17 2017, 12:03
Parents
rPHU086df1ba443c: Improve prose diffs for changes spanning very large blocks of intermediate text
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHU683aa2cb4bb4: Improve PhutilConsole rendering support for ANSI escape sequences (authored by epriestley <git@epriestley.com>).Nov 23 2016, 17:01