microsoft / microsoft/terminal

Add a setting to force LTR / logical order for incoming text

Open
#12,711 0 comments 0 reactions 0 assignees View on GitHub
Area-AtlasEngine Area-i18n Issue-Feature Product-Terminal
Dominant language
C++
Stars
105k
Forks
9.6k
Avg merge
3d 17h
Merged PRs (30d)
29

Description

# Description of the new feature/enhancement

Created out of: #12294
For reference: https://sw.kovidgoyal.net/kitty/conf/#opt-kitty.force_ltr

The following applies practically only to Hebrew:
Some applications (`vim -H` for instance) write RTL scripts already in reverse in order to place glyphs on the right side of the terminal. In order for us to support such RTL-aware applications we need to add a setting which allows the user to suppress BiDi detection.

# Proposed technical implementation details (optional)

When we add BiDi detecting in AtlasEngine, we should skip the detection if rendering in "logical order" is force-enabled.

Contributor guide

Open the contributing guide

Research direction

Review issue #12294 and the AtlasEngine BiDi-detection work first, then compare the referenced kitty force_ltr behavior. The setting is done when users can force logical order so BiDi detection is skipped, preserving text from RTL-aware applications such as vim -H.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli, internationalization
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.