rp - raspberry pi pico dev tui
- 10 Devlogs
- 12 Total hours
refactored a little bit of Runner to make it more consistent.
changed the actions to a parsed json rather than hardcoded to make it easier for others to use rp, and so that its easier down the line
took a TON of time and learning but i made a new file and some new methods in order to accurately display status!
it updates independently every second, rather than every loop. and, everything there is actual information, nothing pre-written!
todo:
wrote a TON of code in order to get to this point. drawing the status lines is now halfway there (there’s front end but no back end). i also implemented it in such a way that (hopefully) making this look pretty wont mean rewriting a lot of code.
onto writing the functionality!
added a stop command which allows me to stop a command that i ran from the tui!
commands now run in their own thread! this makes sure that i cant run multiple commands on the pico at the same time.
finally have commands running with their output!
moved everything into their own files, to keep stuff more organized.
learned what .hpp is.
now i can move on to actually making it functional !!!
did a lot of backend changes! i added a lot of error handling, changed the terminal and each section to classes, and added colors. i also added titles to each section.
i made a vector with actions and keybinds to each of those actions! i can also go up and down with arrow keys and use enter or spacebar to select that action. i also made one of my windows into logs, and made sure that it only shows the latest lines!
learning c++ asw as how to make a tui!
i made something that splits my windows into 3, outputs a changing variable (time), and takes my keyboard inputs and does stuff with them!
im hoping to learn more UI and then start on the actual functionality.