panda icon indicating copy to clipboard operation
panda copied to clipboard

Rewrite panda_expect.py

Open AndrewFasano opened this issue 2 years ago • 0 comments

panda_expect.py is about 500 lines of hacks that reinvent existing libraries. I think the functionality we need largely exists in the following two libraries:

  • pexpect for sending/receiving lines
  • urwid for parsing ANSI escape codes

I'm particularly interested in urwid since I wrote the (terrible) ansi-parsing code that's currently used in panda_expect and imagine we'd get some performance + reliability improvements if we folded that in.

AndrewFasano avatar Dec 23 '22 22:12 AndrewFasano