Skip to content
This repository was archived by the owner on Apr 17, 2020. It is now read-only.
This repository was archived by the owner on Apr 17, 2020. It is now read-only.

Unicode in statusbar items causes miscalculation in length #816

@irssibot

Description

@irssibot

When a statusbar item contains Unicode, it seems to throw off the character-length calculations, and “wipes out” later characters in the statusbar. Here’s a picture: http://ell.io/KncM

It’s fairly easy to reproduce. Try the following:


/set timestamp_format 7 ſ 692 314
/statusbar prompt add -before input time

The Unicode character in that timestamp format will misalign the “prompt” status bar such that text that you type ‘jumps around.’ (Depending on your theme, if there is text *around* that statusbar item, you may need to remove it. Try replacing <code><tt>time = "{sb $Z}";</tt></code> in your config file with <code><tt>time = "$Z";</tt></code> temporarily.)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions