Prompt_toolkit custom event, like input from non user function

Viewed 160

I'm trying to find some documentation about how to add a custom handler, hook etc. to automatically add text, or generally modify the full screen app.

I'd want to render a dict received via a named pipe (from another terminal app running in another window) and display the dict in a treeview control (if anyone has recommendations for a treeview lib that'd be great!).

So the event would listen to the pipe and update a prompt control when received.

The references I found were below, but they aren't too descriptive:

readthedocs

example of input hook

TIA!

0 Answers
Related