3 ms·
I don't think you can reasonably use expect with TUIs, but you can use this with TUIs.
by Zambyte 2y ago
I don't think you can reasonably use expect with TUIs, but you can use this with TUIs.
- ComputerGuru 2y agofish-shell does for its integration tests, and yes, it’s brutal :)
- andyk 2y agoI tried to contrast to `expect` in a couple of my other responses, but yeah this is my sense too after looking briefly at `expect` - that ht always transparently sets up a terminal for you under the hood and you interact with that so you can always grab a screenshot of any terminal UI. I don’t think `expect` is targeted at this use case (though I am only learning about `expect` right now so could be wrong)