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

2024-02-25 Thread Tim Culverhouse
On Sun Feb 25, 2024 at 8:13 AM CST, Quentin Rameau wrote: > Would you have a suggestion about how to handle cursor absolute > position with text position, maybe we need some addition state? I would suggest that cursor position control sequences should always operate on a single-column basis. This

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

2024-02-25 Thread Quentin Rameau
> Hi, Hola k0ga, > > 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. > >

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

2024-02-25 Thread Roberto E. Vargas Caballero
Hi, On Sun, Feb 25, 2024 at 11:57:03AM +0100, g...@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

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

2024-02-25 Thread git
commit 7473a8d1a57e5f9aba41b953f4e498c35e1c9dc5 Author: Quentin Rameau AuthorDate: Sun Feb 25 01:31:31 2024 +0100 Commit: Hiltjo Posthuma CommitDate: Sun Feb 25 11:56:43 2024 +0100 Fix cursor move with wide glyphs st would always move back 1 column, even with wide