chore: import official kitty sources from upstream

Bring the kovidgoyal/kitty codebase in as the base of FWS-Kitty, vendored at upstream commit 91fb38a without its git history.
This commit is contained in:
BlackAngelTV committed 2026-11-04 11:35:59 +01:00
commit 3d174c45a4
1134 files changed
+433629

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
#!/usr/bin/env python
# License: GPL v3 Copyright: 2016, Kovid Goyal <kovid at kovidgoyal.net>
import os
is_ci = os.environ.get('CI') == 'true'
def in_isolated_test_env() -> bool:
"""Whether HOME and the XDG dirs point at the throwaway directory created by env_for_python_tests()."""
return 'KT_ORIGINAL_HOME' in os.environ