tomara-x / quartz

visual programming and dsp playground
https://codeberg.org/tomara-x/quartz
Apache License 2.0
77 stars 3 forks source link

run command_parser on text change #120

Closed tomara-x closed 6 months ago

tomara-x commented 6 months ago

allow the parser to run, even if there are no key events but the command line text was changed

this allows the commands to be invoked from anywhere :red_circle:

tomara-x commented 6 months ago

also try to yeet the local mode :red_circle:

tomara-x commented 6 months ago

https://github.com/bevyengine/bevy/blob/main/examples/input/text_input.rs

tomara-x commented 6 months ago

instead of return-terminating, gimme an EOC (enter key inserts that) and search for ends_with