Using Ruby, I'd like to produce a multiplexed terminal window whereby in one "sub" window I can dynamically update displayed data from the underlying application and in another "sub" window I can support user input for controlling the underlying application.
Is this possible with something like Pry or Readline/Coolline?
I can produce each window individually, I just don't know how to multiplex the terminal into two "sub" windows driven by the same application. I'd like to avoid having to use two separate terminal windows, which would require a multi-processed application.