mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-13 08:21:03 -04:00
Revert "term: ignore LTR+RTL markers (U+200E + U+200F)"
This reverts commit 70b324b24c.
This commit is contained in:
parent
70b324b24c
commit
1b15cc5f3d
2 changed files with 0 additions and 17 deletions
|
|
@ -63,13 +63,6 @@
|
||||||
## Unreleased
|
## Unreleased
|
||||||
### Added
|
### Added
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
* Left-to-right and right-to-left markers (U+200E and U+200F) are now
|
|
||||||
ignored ([#2049][2049]).
|
|
||||||
|
|
||||||
[2049]: https://codeberg.org/dnkl/foot/issues/2049
|
|
||||||
|
|
||||||
|
|
||||||
### Deprecated
|
### Deprecated
|
||||||
### Removed
|
### Removed
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
@ -80,8 +73,6 @@
|
||||||
codepoints ([#2039][2039]).
|
codepoints ([#2039][2039]).
|
||||||
* Keyboard modifiers not being reset on keyboard leave events
|
* Keyboard modifiers not being reset on keyboard leave events
|
||||||
([#2034][2034]).
|
([#2034][2034]).
|
||||||
* Last character in a `remind` calendar event being in the wrong font
|
|
||||||
and color ([#2049][2049]).
|
|
||||||
|
|
||||||
[2039]: https://codeberg.org/dnkl/foot/issues/2039
|
[2039]: https://codeberg.org/dnkl/foot/issues/2039
|
||||||
[2034]: https://codeberg.org/dnkl/foot/issues/2034
|
[2034]: https://codeberg.org/dnkl/foot/issues/2034
|
||||||
|
|
|
||||||
|
|
@ -4156,14 +4156,6 @@ term_process_and_print_non_ascii(struct terminal *term, char32_t wc)
|
||||||
(grapheme_clustering ||
|
(grapheme_clustering ||
|
||||||
(!grapheme_clustering && width == 0 && wc >= 0x300)))
|
(!grapheme_clustering && width == 0 && wc >= 0x300)))
|
||||||
{
|
{
|
||||||
if (unlikely(wc == 0x200e || wc == 0x200f)) {
|
|
||||||
/*
|
|
||||||
* Ignore left-to-right and right-to-left markers
|
|
||||||
* see https://codeberg.org/dnkl/foot/issues/2049
|
|
||||||
*/
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
int col = term->grid->cursor.point.col;
|
int col = term->grid->cursor.point.col;
|
||||||
if (!term->grid->cursor.lcf)
|
if (!term->grid->cursor.lcf)
|
||||||
col--;
|
col--;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue