Skip to content

[bug] offset when using widechar input #2

Description

@LESdylan

What happened

if the user write something normal but with other characters like ñ for instance that are not from table ascii AND if the prompt is enough logn to cover all the width of the window tab of the terminal.. we get an overlap of character due to the size of the character..

Command / script:

This is working because there is only ASCII character

fasfsafasfsdcsyugcyuwgegfgsgcsuycgywggfwucyussgacyuwugfuyewucuyweguagyfayugwucygguwcgy

This doesn't work well because it has ñ at the begining

ñfklsjafksajdflsajfskdjcosajofjosdjfoasfjasjfoisjoafjjsdfdijsdfoijisfsdfoaso

hellish output / exit status:

# before
ñfklsjafksajdflsajfskdjcosajofjosdjfoasfjasjfoisjoafjjsdfdijsdfoijisfsdfoaso
# let's add hello after o
hellojafksajdflsajfskdjcosajofjosdjfoasfjasjfoisjoafjjsdfdijsdfoijisfsdfoaso

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions