Re: [PATCH] password: Fix backspace in username prompt

2021-03-02 Thread Egor Ignatov
I used grub_printf 3 times, because for some reason (line wrapping I guess) if you print "\b \b" at once the backspace key doesn't work on the second last character in the terminal line. The visual cursor gets stuck there and doesn't remove characters anymore, although you can still type more.

Re: [PATCH] password: Fix backspace in username prompt

2021-03-01 Thread Lennart Sorensen
On Mon, Mar 01, 2021 at 10:58:40AM +0300, Egor Ignatov wrote: > From: Egor Ignatov > > Make backspace work in superuser login prompt. > > The problem was that bidi logical to visual ignored BN type, > so you couldn't print control characters. > > Use grub_printf() 3 times, because a line wrap w