nano-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: support for RTL text directly in the terminal?


From: Mahyar Abbaspour
Subject: Re: support for RTL text directly in the terminal?
Date: Sat, 22 Feb 2020 17:21:15 +0330

On Thu, Feb 20, 2020 at 2:21 PM Benno Schulenberg <address@hidden> wrote:

> On Sun, Feb 16, 2020 at 2:35 PM Benno Schulenberg <address@hidden
> <mailto:address@hidden>> wrote:
>     One of these days I'll download a KDE-based distro and see in Konsole does
>     any better than mlterm.

I've run KDE Neon from a USB stick, and have opened the previously attached
bidirectional.txt file in nano on Konsole...  The RTL phrases are in their
proper order (the first character is on the right and the last on the left)
but they are aligned to the left side of the terminal.  When placing the
cursor on the start of one of those lines, the first character comes from
the right end all the way to the left, under the cursor, and all other
characters move one position to the right.  When then typing <Right>, the
cursor moves one position to the right, the first character moves all the
way back to the right end, the second comes over to sit under the cursor,
and the last character jumps over the cursor to the left.  And so on.
(I hope I have described it correctly because it was very confusing and
weird.)

Yes I get it. This is because it's not designed with bidi support in mind. It just happens
to support it partially.
 
I think this is far worse than mlterm and basically unusable.

I agree.
 
Next I will see if I can find a distro that has VTE 0.57.3 or newer, to
see how RTL text behaves there.

Sounds good. I'm a bit busy at the moment. I hope I find some time to push my previous
work and hopefully add bidi support to nano.


--
Best regards,
Mahyar

reply via email to

[Prev in Thread] Current Thread [Next in Thread]