Skip to content

Instantly share code, notes, and snippets.

View aaossa's full-sized avatar
🤖
Making agents chat with other agents

Antonio Ossa-Guerra aaossa

🤖
Making agents chat with other agents
  • Buk
  • Santiago, Chile
  • 10:56 (UTC -03:00)
View GitHub Profile
@aaossa
aaossa / lookup.py
Created July 9, 2026 21:28
Python CLI script to lookup for the key combination to type a character (`python lookup.py ~`)
import sys
import ctypes
import ctypes.util
import unicodedata # For pulling official character names and code points
# --- ANSI Escape Codes for Terminal Styling ---
CLR_RECOMMENDED = "\033[1;32m" # Bold Green
CLR_ALT = "\033[36m" # Cyan
CLR_ERROR = "\033[1;31m" # Bold Red
CLR_RESET = "\033[0m" # Reset to default