Hi All,
I want a String Control on my Front Panel to emulate the behavior of a command line interface.
Some features might include:
- ability to cycle through previous commands using 'up' and 'down' arrow keys
- prevention of cursor moving further back than the most recent prompt
- pressing 'Enter' sends the user-entered text after the most recent prompt for processing (e.g. enqueues it for consumption by a parallel loop), and displays reponse when ready, before displaying the subsequent prompt
I have a few ideas about the best / cleanest way of implementing this, but it would be good to hear any suggestions.
Thanks!
Dan
CLD