Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37710225
en ru br
ALT Linux repositórios
S:2.06-alt16
D:0.97-alt2
5.0: 0.97-alt5
4.1: 0.97-alt4.M41.1
3.0: 0.95-alt1

Group :: Sistema/Kernel e hardware
RPM: grub

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: grub-2.06-alt-gfxterm-backspace-workaround.patch
Download


From 727d20935984b659aaeb67fee811177bac06676d Mon Sep 17 00:00:00 2001
From: Egor Ignatov <egori@altlinux.org>
Date: Sat, 14 Aug 2021 17:32:24 +0300
Subject: [PATCH] Allow control characters in the bidi visual. Resolves: #60114
Signed-off-by: Egor Ignatov <egori@altlinux.org>
---
 grub-core/normal/charset.c | 3 +++
 1 file changed, 3 insertions(+)
diff --git a/grub-core/normal/charset.c b/grub-core/normal/charset.c
index 4dfcc3107..84efaa3c7 100644
--- a/grub-core/normal/charset.c
+++ b/grub-core/normal/charset.c
@@ -931,6 +931,9 @@ grub_bidi_line_logical_to_visual (const grub_uint32_t *logical,
 	    pop_stack ();
 	    break;
 	  case GRUB_BIDI_TYPE_BN:
+	    /* Workaround to fix backspace in gfxterm */
+	    if (visual[visual_len].base == '\b')
+	      visual_len++;
 	    break;
 	  case GRUB_BIDI_TYPE_R:
 	  case GRUB_BIDI_TYPE_AL:
-- 
2.32.0
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009