Skip to content

Wrong column width when display non-latin characters in table. #723

@ghost

Description

CF CLI will display table with wrong column width when the table header has non-latin characters. For example, if I set locale to zh_Hans (zh-cn), and retrieve the CF applications through "cf apps" command, the table will looks like:

名称 状态
APP1 Running
...

The width of "状态”(State) column header was wrong. It seems that the width calculation of non-latin character has some issues..

wrong-width

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions