Re: [dev] [st] Undeleted parts of characters

2021-01-01 Thread Laslo Hunhold
On Thu, 31 Dec 2020 15:43:59 +0100
Filip  wrote:

Dear Filip,

> I do not know why but for some reason very long characters like "|"
> "/" "\" "å" etc does not get fully deleted in terminal. Instead they
> leave annoying dots at the top; the absolute top of the characters
> remain. This is annoying because unless I either move the window
> (using dwm) or scroll (in vim), the traces of these characters remain
> and eventually there are a bunch of dots all over.
> 
> Please help me, this is really unbearable in vim especially.

this problem might also be related to grapheme clusters. st assumes
that one codepoint equals one character, which is an incomplete but
"mostly" valid assumption in traditional western character sets. If you
remove a character or st does operations on the terminal
character-grid, this might mix things up as you're perceiving, leaving
stray modifiers like 'COMBINING RING ABOVE' (U+030A) that might be
rendered depending on the font used and appear as artifacts.

With best regards

Laslo



Re: [dev] [st] Undeleted parts of characters

2020-12-31 Thread Quentin Rameau
> Hello,

Hi Filip,

> I do not know why but for some reason very long characters like "|" "/"
> "\" "å" etc does not get fully deleted in terminal. Instead they leave
> annoying dots at the top; the absolute top of the characters remain.
> This is annoying because unless I either move the window (using dwm) or
> scroll (in vim), the traces of these characters remain and eventually
> there are a bunch of dots all over.
> 
> Please help me, this is really unbearable in vim especially.

You may be using a broken font, can you reproduce the issue with
a different one?



Re: [dev] [st] Undeleted parts of characters

2020-12-31 Thread Filip
Yes I can recreate it, not with the pipes and slashes but with swedish
characters like "å"

On 20/12/31 03:59, Quentin Rameau wrote:
> > Hello,
>
> Hi Filip,
>
> > I do not know why but for some reason very long characters like "|" "/"
> > "\" "å" etc does not get fully deleted in terminal. Instead they leave
> > annoying dots at the top; the absolute top of the characters remain.
> > This is annoying because unless I either move the window (using dwm) or
> > scroll (in vim), the traces of these characters remain and eventually
> > there are a bunch of dots all over.
> >
> > Please help me, this is really unbearable in vim especially.
>
> You may be using a broken font, can you reproduce the issue with
> a different one?
>