In my previous post I wrote a compiler that turns Python code into a tmux config file. It makes tmux evaluate a program by performing actions while switching between windows. My implementation relies on a feature in tmux called “hooks” which run an command whenever a certain action happens in tmux. The action that I was using was when a pane received focus. This worked great except I had to do some trickery to avoid tmux’s cycle detection in hooks—it...| willhbr.net
You know how there’s that scene in Apollo 13 where they need to work out how to fit the different CO2 filter using only the equipment available on the spacecraft? Well imagine if you needed to send a video to someone but the only software they had to play it back was tmux. This hasn’t happened to me yet, but thankfully I’ve prepared in advance. Just in case. The most basic building block here is a tmux window. We’re not...| willhbr.net
The question that everyone has been asking me since I compiled Python to run on tmux is: “can you actually do anything useful with this?”. I’m happy to report back that the answer is still no, but I can now use tmux to solve sudoku, and I can do it using a different and trickier approach than the one I used with the compiler. With projects like this, seeing is believing, so I made a quick video showing what it...| willhbr.net