You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First and foremost... this library is amazing. This has not only been an amazing UI experience thus far, but it's opened my eyes to many more advanced features of C++ that I've managed to avoid up until now.
Nonetheless, I am trying to create a LLDB/GDB interface in FTXUI. This would, of course, require an Input component that uses an InputOption that appends to an input_entries vector of strings input_option.on_enter = [&.....
Then, there would be a window that shows the previous input along with any output received from the thread executing the process corresponding to the input command. An example of output the UI may receive from an external process (ie. PID=69) is JSON data. I'd also like to have a live-updating Histogram using the graph component based on selected variables inside the JSON data.
While I know all of this is more than possible using FTXUI the problem I am facing is there are so many different ways to accomplish everything. For example, for the section above the input box...
I am unsure as to what the best (or recommended) construct would be. I am thinking Menu because I think I'd like to have each input_entry be clickable to show the output from the command so as not to obfuscate which command led to which output. The follow up to this is: Where do I draw the line of when I should make my own Component using ComponentBase vs using the existing API?
Please forgive me for any obvious or less-than-intelligent parts of my post... I would just like to make sure I am doing this right the first time. Thank you in advance and thank you for the amazing work on this project.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Howdy!
First and foremost... this library is amazing. This has not only been an amazing UI experience thus far, but it's opened my eyes to many more advanced features of C++ that I've managed to avoid up until now.
Nonetheless, I am trying to create a LLDB/GDB interface in FTXUI. This would, of course, require an
Input
component that uses anInputOption
that appends to aninput_entries
vector of stringsinput_option.on_enter = [&....
.Then, there would be a window that shows the previous input along with any output received from the thread executing the process corresponding to the input command. An example of output the UI may receive from an external process (ie. PID=69) is JSON data. I'd also like to have a live-updating Histogram using the
graph
component based on selected variables inside the JSON data.While I know all of this is more than possible using FTXUI the problem I am facing is there are so many different ways to accomplish everything. For example, for the section above the input box...
I am unsure as to what the best (or recommended) construct would be. I am thinking Menu because I think I'd like to have each input_entry be clickable to show the output from the command so as not to obfuscate which command led to which output. The follow up to this is: Where do I draw the line of when I should make my own Component using
ComponentBase
vs using the existing API?Please forgive me for any obvious or less-than-intelligent parts of my post... I would just like to make sure I am doing this right the first time. Thank you in advance and thank you for the amazing work on this project.
Beta Was this translation helpful? Give feedback.
All reactions