Fully standalone console mode keyboard event loop (Kitty protocol)
Fully standalone console mode keyboard event loop (Kitty protocol) - kitty-keys.py
The market for standalone console mode key and mouse handling is small, but as this was a bit hard to put together (without using any libraries), I might as well share it.
gist.github.com/nurpax/57f25...
Intended for use in text mode UIs. Probably only works with Ghostty and Kitty.
19.10.2025 13:50
👍 1
🔁 0
💬 0
📌 0
#PETSCII #C64 #Commodore64 #pixelart #textmode
08.06.2025 07:19
👍 29
🔁 6
💬 0
📌 1
There’s a lot of good text in your header comments that I think would be very valuable if formatted into some sort of static site. I think it’d make reading through it a nicer experience than f.ex. looking at the .h on GitHub.
Alas auto-gen’d API refs usually suck, just like you said.
01.02.2025 15:56
👍 1
🔁 0
💬 1
📌 0
Success.. it builds!
Pushed a quick update on my blog after a two year hiatus!
nurpax.github.io/posts/2023-0...
01.01.2024 20:54
👍 0
🔁 0
💬 0
📌 0
a x86_64 PE+ file.
ghc-9.4.8.exe: Unknown COFF 4 type in getHeaderInfo.
Why do I keep doing this to myself..
01.01.2024 17:35
👍 0
🔁 0
💬 1
📌 0
Hoo boy.. Wanted to push an update to my blog to remove Google Analytics scripts. Haven't touched the static HTML gen since 2021 and it's written in Haskell. 😬 Looks like there's a lot of catching up to do again to figure out how to build it.
01.01.2024 17:33
👍 2
🔁 0
💬 1
📌 0
Well hello Bluesky!
Here's a re-implementation of Karpathy's micrograd in Zig: github.com/nurpax/zigro... -- a little weekend project to implement an auto-diffing neural net library in #ziglang
02.11.2023 17:46
👍 4
🔁 1
💬 0
📌 0