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