]> khamidou — GitHub mirrors - arcanist.git/commit
Make `arc tasks` print output in a unicode-aware and console-width-aware way
authorepriestley <git@epriestley.com>
Mon, 1 Oct 2012 02:40:54 +0000 (19:40 -0700)
committerepriestley <git@epriestley.com>
Mon, 1 Oct 2012 02:40:54 +0000 (19:40 -0700)
commitdffaa17e415615d71fb725da1f10ed2b4f13e72f
treefe3d20f43a22b08ac8673021a4aa9882cd6302bb
parent777c119a0eb13b6d7941af95c90b558c28542e41
Make `arc tasks` print output in a unicode-aware and console-width-aware way

Summary:
Currently, we print `arc tasks` in a console-agnostic and unicode-unaware way, so:

  - Tasks with multibyte characters get aligned incorrectly (see T1831); and
  - narrow terminals plus long task names results in a broken display.

Test Plan: Ran `arc tasks`. Will post screenshots.

Reviewers: btrahan, vrana, Korvin

Reviewed By: btrahan

CC: aran
Maniphest Tasks: T749, T1831

Differential Revision: https://secure.phabricator.com/D3568
src/workflow/ArcanistTasksWorkflow.php