[Feature]: Add bidi support

Aberta
#3,564 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
5/5
Tempo estimado
Mais de uma semana
Facilidade para iniciantes
35/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
go
Domínio
frontend

Direção de pesquisa

The issue names a prototype using bidi-js, Chromium shaping, xterm’s DOM renderer, and Vitest tests, but does not identify repository files or entry points. Start by locating the terminal renderer and its existing Vitest tests, then review how the prototype handles logical text and the normal screen. Done means bidirectional text renders with correct joining and mixed text, while cursor, selection, copying, and search behave consistently.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

enhancement triage
Feature description

I would like to see support for bidirectional rendering for Arabic, Persian, and Hebrew, including mixed English and numbers, correct joining and combining marks, and consistent cursor, selection, copying, and search behavior. This would help developers working with these languages use the terminal in more effective way. As the current implementation does not make it possible to render those languages at all.

Implementation Suggestion

I have a working prototype using bidi-js and Chromium shaping through xterm’s DOM renderer. It preserves logical text, includes Vitest tests, and initially targets the normal screen. I’d appreciate feedback on the approach and private xterm hooks before submitting a PR. Would this be something of interest to the project?

Anything else?

No response

Linguagem predominante
Go
Estrelas
22.7k
Forks
1.2k
Métricas de merge de PRs
Nenhum PR com merge em 30d

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de wavetermdev/waveterm

Todas as issues de wavetermdev/waveterm

Issues semelhantes

Mais issues de Go

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.