Skip to content

Localization problem, no line update, only newlines #37

@muratkanc

Description

@muratkanc

Under turkish language, for the remaining part of the file, remaining information causing the progress bar to overflow and enters in newline as shown below:

filename 79%[++++++++++++++++++++ ] 76,62G 10,1MB/s kalan 35m 34
filename 79%[++++++++++++++++++++ ] 76,62G 10,2MB/s kalan 34m 36

If remaining time has less than 4 digits (<10 mins or <10 secs in display) it works fine and updates without newline.
Problem gets solved on LC_ALL="C" localization.
I assume it might exists in different languages as well.
Here is my local:

LANG=tr_TR.utf8
LC_CTYPE=tr_TR.UTF-8
LC_NUMERIC="tr_TR.utf8"
LC_TIME="tr_TR.utf8"
LC_COLLATE="tr_TR.utf8"
LC_MONETARY="tr_TR.utf8"
LC_MESSAGES="tr_TR.utf8"
LC_PAPER="tr_TR.utf8"
LC_NAME="tr_TR.utf8"
LC_ADDRESS="tr_TR.utf8"
LC_TELEPHONE="tr_TR.utf8"
LC_MEASUREMENT="tr_TR.utf8"
LC_IDENTIFICATION="tr_TR.utf8"
LC_ALL=

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions