Replies: 1 comment
-
With a little bit of tinkering you can take |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I would like to add to one of my apps a powerfull shell like window. Think gdbs tui interface with one of the windows being the gdb prompt and the other displaying stuff.
This question is just about the shell/terminal like window.
Obviously I do not want a ready made solution but some pointers into the right direction. Here is what it should support in the end:
So I had a look at the input widgets and they seem to just take text, don't they?
I was thinking that the most flexible solution to achieve all that would probably be to implement something based on key input events, trigger on key combos that I am interested in and otherwise from all of them compose whatever I want to display at the prompt line. Possibly I could have the display areay split (not visible to the user) so the above is purely history and below is (possibly multi line) what my current command is? And then on my search dialogue I can simply open some "overlay dialog" that is on top of everything at the right place (so that it appears it comes out of the command line) ?
Am I on the right track here? Or did I overlook some components of textual that would make this easier/faster ?
Beta Was this translation helpful? Give feedback.
All reactions