updated README.md.. that was a fuck up!

This commit is contained in:
puckoprutt 2026-07-13 05:14:25 +02:00
parent 5bc5dec715
commit ea0ecabc41

View File

@ -10,17 +10,17 @@ the original rp-usb-serial crate was a good foundation to build on in my journey
## compiling the example ## compiling the example
to compile just run: to compile just run:
´´´bash ```bash
cargo build --example print-banner cargo build --example print-banner
´´´ ```
<img src="https://webchat.puckoprutt.tech/public.php/dav/files/n38qRnz2b8QP5fe/" width="300" style="margin: 0 auto;" alt="compiling.." /> <img src="https://webchat.puckoprutt.tech/public.php/dav/files/n38qRnz2b8QP5fe/" width="450" style="margin: 0 auto;" alt="compiling.." />
## running the example ## running the example
When running the example it should look like this: When running the example it should look like this:
<img src="https://webchat.puckoprutt.tech/public.php/dav/files/Q6Sg2mLSsdfqxCR/" width="300" style="margin: 0 auto;" alt="running example.." /> <img src="https://webchat.puckoprutt.tech/public.php/dav/files/Q6Sg2mLSsdfqxCR/" width="450" style="margin: 0 auto;" alt="running example.." />
its made for terminals that can take ANSI-sequence (im guessing most of them do..) and it uses simple standard 8 colors. its made for terminals that can take ANSI-sequence (im guessing most of them do..) and it uses simple standard 8 colors.
example showing how to get notified when user presses enter and work with the whole line. and also how to split line into word. example showing how to get notified when user presses enter and work with the whole line. and also how to split line into word.
@ -28,4 +28,4 @@ usually word 0 is a command and the rest of words are arguments.
## check out the example source ## check out the example source
just check in src/example just check in src/example