[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] password: Fix backspace in username prompt
From: |
egori |
Subject: |
[PATCH] password: Fix backspace in username prompt |
Date: |
Wed, 31 Mar 2021 18:52:09 +0300 |
From: Egor Ignatov <egori@altlinux.org>
Allow control characters in the bidi visual.
Resolves: #60114
Signed-off-by: Egor Ignatov <egori@altlinux.org>
---
grub/grub-core/normal/charset.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/grub/grub-core/normal/charset.c b/grub/grub-core/normal/charset.c
index b0ab47d73..30e819bdf 100644
--- a/grub/grub-core/normal/charset.c
+++ b/grub/grub-core/normal/charset.c
@@ -925,6 +925,7 @@ grub_bidi_line_logical_to_visual (const grub_uint32_t
*logical,
pop_stack ();
break;
case GRUB_BIDI_TYPE_BN:
+ visual_len++;
break;
case GRUB_BIDI_TYPE_R:
case GRUB_BIDI_TYPE_AL:
--
2.25.4
- [PATCH] password: Fix backspace in username prompt,
egori <=