TFW you ask an LLM if a terminal can capture mouse events, and if it can write a text-terminal-window manager in Python and ONE MINUTE later it's up and running.
10:32 AM · Jun 28, 2026 · 1.8K Views
TFW you ask an LLM if a terminal can capture mouse events, and if it can write a text-terminal-window manager in Python and ONE MINUTE later it's up and running.
No Digg Deeper questions have been answered for this story yet.
489 lines of Python
TFW you ask an LLM if a terminal can capture mouse events, and if it can write a text-terminal-window manager in Python and ONE MINUTE later it's up and running.
Checked that emacs works, and also asked to have region-selection consistent with the windows. One minute later...
TFW you ask an LLM if a terminal can capture mouse events, and if it can write a text-terminal-window manager in Python and ONE MINUTE later it's up and running.

@francoisfleuret some CS guys didn’t make to see it