Re: [hackers] [st] Fix cursor move with wide glyphs || Quentin Rameau

From: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
Date: Sun, 25 Feb 2024 14:45:32 +0100

Hi,

On Sun, Feb 25, 2024 at 11:57:03AM +0100, git_AT_suckless.org wrote:
> st would always move back 1 column,
> even with wide glyhps (using more than a single column).
>
> The glyph rune is set on its first column,
> and the other ones are to 0,
> so loop until we detect the start of the previous glyph.

Should this be done in every cursor addressing command?
What happens if we position the cursor in the middle of a glyph?

Kind regards,
Received on Sun Feb 25 2024 - 14:45:32 CET

This archive was generated by hypermail 2.3.0 : Sun Feb 25 2024 - 14:48:35 CET