-
-
Notifications
You must be signed in to change notification settings - Fork 990
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add force_ltr
#2293
Add force_ltr
#2293
Conversation
Thanks! I agreed it's a bandaid, but at least it makes sane bidi editing with vim possible.
Sometimes, it pays for a program not to be too smart...
…On 17 January 2020 10:24:43 GMT+02:00, Fredrick Brennan ***@***.***> wrote:
Close #2252.
This allows users to forcibly disable RTL; since Kitty doesn't
support BIDI anyway, this makes selecting RTL substrings more
tolerable, but many users may prefer the current behavior, so it's
off by default.
@kovidgoyal called this a "bandaid", and I understand why,
but I hope he merges it because I find it useful, and I know that @hseg
will too
![2020-01-17-161718_2398x1185_scrot](https://user-images.githubusercontent.com/838783/72595797-985d4f00-3945-11ea-9ddd-c586452e14f9.png)
![2020-01-17-162116_2883x1732_scrot](https://user-images.githubusercontent.com/838783/72595891-ce023800-3945-11ea-8aa9-672010c6819d.png)
You can view, comment on, or merge this pull request online at:
#2293
-- Commit Summary --
* Add `force_ltr`
-- File Changes --
M kitty/config_data.py (19)
M kitty/fonts.c (1)
M kitty/state.c (1)
M kitty/state.h (1)
-- Patch Links --
https://github.com/kovidgoyal/kitty/pull/2293.patch
https://github.com/kovidgoyal/kitty/pull/2293.diff
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
#2293
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
|
I agree. I come into contact with Hebrew text surprisingly frequently, as I make fonts and some of my build scripts and tests include Hebrew text. So I need to be able to select Hebrew substrings, which is basically impossible with the current way things work. I hope this will get merged even though Kovid closed your issue. It can always be taken out if full BIDI support is added, and it's optional |
I said I dont want to spend the time on it, I have no objections to |
Add above fact to documentation.
Kitty doesn't support RTL & the author mentioned a couple of times that he has no plans to do so, what a bummer. But in 0.16.0 he added this hack/workaround to force rendering always as LTR which weirdly enough improved the RTL support at least became tolerable kovidgoyal/kitty#2293 (comment) More context: kovidgoyal/kitty#2293 kovidgoyal/kitty#2252
Close #2252.
This allows users to forcibly disable RTL; since Kitty doesn't support BIDI anyway, this makes selecting RTL substrings more tolerable, but many users may prefer the current behavior, so it's off by default.
@kovidgoyal called this a "bandaid", and I understand why, but I hope he merges it because I find it useful, and I know that @hseg will too