Merge branch 'dev'
Some checks failed
CI / Linux (python=3.13 cc=clang sanitize=1) (push) Has been cancelled
CI / Linux (python=3.11 cc=gcc sanitize=0) (push) Has been cancelled
CI / Linux (python=3.12 cc=gcc sanitize=1) (push) Has been cancelled
CI / Linux package (push) Has been cancelled
CI / Bundle test (macos-latest) (push) Has been cancelled
CI / Bundle test (ubuntu-latest) (push) Has been cancelled
CI / macOS Brew (push) Has been cancelled
CI / Test ./dev.sh and benchmark (push) Has been cancelled

This commit is contained in:
ayo 2026-06-23 16:37:00 +02:00
commit c344bc09e4
9 changed files with 130 additions and 16 deletions

4
.gitignore vendored
View file

@ -31,3 +31,7 @@ bypy/b
bypy/virtual-machines.conf
_codeql_detected_source_root
*~
*swo
*swp
node_modules

3
.husky/post-commit Normal file
View file

@ -0,0 +1,3 @@
echo "post-commit..."
git push gh
git push sh

View file

@ -28,3 +28,18 @@ tests as well (see the `kitty_tests/` sub-directory for existing tests, which
can be run with `./test.py`).
That's it.
### Commands
- **Build:** `./dev.sh build` or `python3 setup.py build --debug`
- **Tests:** `./test.py` (or `--module <name>` for specific)
- **Type check:** `./test.py type-check` (mypy)
- **Linting:** `ruff check .` for Python, `gofmt/gofmt` for Go
- **Regenerate config types:** `./gen-config.py` after editing `definition.py`
- **CI runs:** GCC + Clang on Python 3.11/3.12/3.13 (ASAN enabled), ruff linting, mypy, go vet
### Key files to know first when working on the project
- `boss.py` — central runtime controller
- `screen.c` — VT terminal emulation core
- `kitty/options/definition.py` — all config options in one place (~3700 lines)
- `child-monitor.c` — child process/PTY management

View file

@ -1,16 +0,0 @@
= kitty - the fast, feature-rich, cross-platform, GPU based terminal
If you live in the terminal, *kitty* is made for **you**!
See https://sw.kovidgoyal.net/kitty/[the kitty website].
image:https://github.com/kovidgoyal/kitty/workflows/CI/badge.svg["Build status", link="https://github.com/kovidgoyal/kitty/actions?query=workflow%3ACI"]
https://sw.kovidgoyal.net/kitty/faq/[Frequently Asked Questions]
To ask other questions about kitty usage, use either the https://github.com/kovidgoyal/kitty/discussions/[discussions on GitHub] or the
https://www.reddit.com/r/KittyTerminal[Reddit community]
Packaging status in various repositories:
image:https://repology.org/badge/vertical-allrepos/kitty-terminal.svg?columns=3&header=kitty["Packaging status", link="https://repology.org/project/kitty-terminal/versions"]

33
README.md Normal file
View file

@ -0,0 +1,33 @@
> [!Note]
> This is a fork of the Kitty terminal emulator: https://github.com/kovidgoyal/kitty
# kitty - the fast, feature-rich, cross-platform, GPU based terminal
## Installation
Copy the following to your terminal:
```bash
git clone https://ayco.io/g/kitty \
&& cd kitty \
&& ./install-if-linux-debian.sh \
&& ./dev.sh build \
&& ./launch.sh
```
## Background
If you live in the terminal, *kitty* is made for **you**!
See [the kitty website](https://sw.kovidgoyal.net/kitty/).
[!["Build status"](https://github.com/kovidgoyal/kitty/workflows/CI/badge.svg)]("https://github.com/kovidgoyal/kitty/actions?query=workflow%3ACI")
[Frequently Asked Questions](https://sw.kovidgoyal.net/kitty/faq/)
To ask other questions about kitty usage, use either the [discussions on GitHub](https://github.com/kovidgoyal/kitty/discussions) or the [Reddit community](https://www.reddit.com/r/KittyTerminal)
Packaging status in various repositories:
[!["Packaging status"](https://repology.org/badge/vertical-allrepos/kitty-terminal.svg?columns=3&header=kitty)]("https://repology.org/project/kitty-terminal/versions")

28
install-if-linux-debian.sh Executable file
View file

@ -0,0 +1,28 @@
if [[ "$OSTYPE" == "linux-gnu"* ]]; then
## Update package repos
sudo apt update
## Build deps
sudo apt install -y \
liblcms2-dev \
libfontconfig-dev \
libssl-dev \
libpython3-dev \
libxxhash-dev \
libsimde-dev \
libcairo2-dev \
## X11 development deps
sudo apt install -y \
libdbus-1-dev \
libxcursor-dev \
libxrandr-dev \
libxi-dev \
libxinerama-dev \
libgl1-mesa-dev \
libxkbcommon-x11-dev \
libfontconfig-dev \
libx11-xcb-dev
fi

1
launch.sh Executable file
View file

@ -0,0 +1 @@
$(dirname "$0")/kitty/launcher/kitty

22
package.json Normal file
View file

@ -0,0 +1,22 @@
{
"name": "kitty",
"version": "1.0.0",
"description": "",
"main": "index.js",
"directories": {
"doc": "docs"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"prepare": "husky"
},
"repository": {
"type": "git",
"url": "https://git.ayo.run/ayo/kitty"
},
"author": "Ayo Ayco",
"license": "MIT",
"devDependencies": {
"husky": "^9.1.7"
}
}

24
pnpm-lock.yaml Normal file
View file

@ -0,0 +1,24 @@
lockfileVersion: '9.0'
settings:
autoInstallPeers: true
excludeLinksFromLockfile: false
importers:
.:
devDependencies:
husky:
specifier: ^9.1.7
version: 9.1.7
packages:
husky@9.1.7:
resolution: {integrity: sha512-5gs5ytaNjBrh5Ow3zrvdUUY+0VxIuWVL4i9irt6friV+BqdCfmV11CQTWMiBYWHbXhco+J1kHfTOUkePhCDvMA==}
engines: {node: '>=18'}
hasBin: true
snapshots:
husky@9.1.7: {}