Skip to content

Instantly share code, notes, and snippets.

View LuisDuarte1's full-sized avatar
πŸ’­
School

LuΓ­s Duarte LuisDuarte1

πŸ’­
School
View GitHub Profile

pi-tui 0.70.6: Enter / Backspace input bugs in Kitty (and any terminal speaking the Kitty keyboard protocol)

TL;DR

Pi enables Kitty keyboard protocol flags 1+2+4 (CSI > 7 u):

  • 1: disambiguate escape codes
  • 2: report event types (press/repeat/release)
  • 4: report alternate keys
@LuisDuarte1
LuisDuarte1 / wsl-kvm.sh
Last active August 26, 2023 16:48 — forked from afmiguez/wsl-kvm.sh
Script to enable KVM in WSL2
#Fully based on https://boxofcables.dev/accelerated-kvm-guests-on-wsl-2/
if [ -z "$1" ]
then
echo "Must supply your Windows 10 username"
exit
fi
WIN_USERNAME=$1
#package updates and installations