Tested with tmux 3.4 and Ruby 3.2.3 on Ubuntu 24.04.
Try it by replacing some numbers in sudoku-solved
with spaces, then running:
$ ./tmux.rb sudoku-solved
Press q or control-C to stop the program and exit tmux.
Learn more about how this works on my blog or in this video.
I also made a compiler for tmux.