Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shell Handling Library for Line Editing #7

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

jclds139
Copy link
Member

@jclds139 jclds139 commented Oct 3, 2024

Closes #3 by adding the dimmykar/microrl-remaster library between the input streams and Commander.

PlatformIO kept exploding when trying to build the `microrl-remastered`
library because of the folder structure. Resolved by vendoring v2.5.0
and including our `_user_config.h` in the source folder, finally making
the compile process happy.

WIP: debugging microrl+Commander

shell-lib: use TeePrint for most outputs, Commander switches ports

shell-lib: add vendored microrl library info

shell-lib: check for cli streaming for both input ports

Moves the `adc dump` ending check into `cli_loop()` so that both streams
can be monitored. Also gets away from checking `cli->getInputPort()`
which is now a NULL to work with `microrl`

shell-lib: fixup! stop Streaming when a command is run

Too much potential for an extra character in the buffer to stop the
streaming prematurely. So, instead just wait until a command is
executed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Line Editing for Console CLI
1 participant