Hello,

I'm not sure if this is a bug or not, or something I'm doing incorrectly,
but I'm trying to set my hardstatus line to include some unicode
characters, but when I do, alignment doesn't seem to work correctly
(presumably due to incorrect calculation of the width of the unicode
characters).

I've grabbed a copy of the source code at
https://git.savannah.gnu.org/git/screen.git and the latest commit ID
is 9d8b0ff3901bdcb8d3bc05d94fce2ef987562768. I've compiled this locally,
and am then running screen with the following config:

```
hardstatus alwayslastline
hardstatus string '%H %= ±'
```
What I see in my hardstatus line is this:
```
finistere                                                            �
```

I'm trying to reproduce something I'm seeing - in that case I'm calling
backtick commands that include unicode characters in the output. In that
case they are displayed, but not correctly right aligned (there are a
number of spaces to the right of what's supposed to be the last character).
I'm hoping if I can solve why the simple case above fails it will also work
for my actual use case.

Thanks, Tom

Reply via email to