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:
Kovid Goyal
2021-08-05 06:29:21 +05:30
parent 276a82d1f7
commit 9e7253c179
6 changed files with 32 additions and 6 deletions

View File

@@ -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.