mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-09 15:08:13 +02:00
macOS: Set LANG to en_US if cocoa reports language as en_* that is not a valid locale
Fixes #3899
This commit is contained in:
@@ -22,6 +22,11 @@ To update |kitty|, :doc:`follow the instructions <binary>`.
|
||||
event which breaks some applications that grab the mouse but cant handle
|
||||
mouse events (:iss:`3902`)
|
||||
|
||||
- macOS: When the language is set to English and the country to one for which
|
||||
an English locale does not exist, set :envvar:`LANG` to ``en_US.UTF-8``
|
||||
(:iss:`3899`)
|
||||
|
||||
|
||||
0.22.2 [2021-08-02]
|
||||
----------------------
|
||||
|
||||
|
||||
@@ -66,6 +66,12 @@ Variables that influence kitty behavior
|
||||
|
||||
Variables that kitty sets when running child programs
|
||||
|
||||
.. envvar:: LANG
|
||||
|
||||
This is set only on macOS, and only if the country and language from the
|
||||
macOS user settings form a valid locale.
|
||||
|
||||
|
||||
.. envvar:: KITTY_WINDOW_ID
|
||||
|
||||
An integer that is the id for the kitty :term:`window` the program is running in.
|
||||
|
||||
Reference in New Issue
Block a user