I hardly have any experience in this area; but automatic end-to-end tests for ncurses and other TUI stuff seems like a huge pain...
I've also noticed vim has scripting abilities (like Emacs?) and notmuch bundles a vim extension we can take inspiration from. Perhaps we could bundle vim and Emacs extensions for lei, too... While I use vim[1], I've always kept my vim decoupled from Perl (or Lua, Python, Ruby, TCL, etc) and rather tie stuff together with pipes. IOW, I'm happy my editor can run arbitrary shell commands; but don't want stuff linked into my editor (since more code is usually more fragile). So, any thoughts on this matter? Anybody willing to maintain an lei TUI for emacs? I might give a vim TUI a shot... But writing and testing a FUSE FS is much more natural... [1] My choice to use vi/vim is merely because it's the most widely-installed editor on random systems I ssh into. It also mostly works the same after a few decades w/o needing UI changes; same goes for Perl.