-
Notifications
You must be signed in to change notification settings - Fork 11
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
Noline support MVP #24
Noline support MVP #24
Conversation
I think this means the user of the crate is now free to fiddle with the contents of the buffer (even adding non-UTF-8 bytes). What prompted the change? |
|
Hmm. We might need a trait or something to abstract across either a raw buffer or an Editor. Or we can create some BasicEditor functionality which does what the crate currently does. |
d73ab43
to
fe58866
Compare
I've made I've also added support for the dynamic prompt in noline. I've pointed the noline crate to the branch for the prompt support for now. I'll make a new release of |
I had to move the |
This looks OK to me. Thank you! As you've re-written the prompt handling, would you mind looking at #25? I spotted this whilst testing. |
Thank you. Whilst testing I spotted that clippy was warning about unused imports - we now check clippy in CI in #26. Would you mind rebasing and looking at the clippy output? |
2e1c0db
to
637cb6c
Compare
637cb6c
to
8a59c88
Compare
Ok, now I've fixed everything, I hope :) |
8a59c88
to
c101737
Compare
d3bfe52
Thank you! |
I've done a quick implementation and got something working. There are some remaining issues that need to be figured out:
Display
. That would work with blocking IO, but since we don't havewrite_fmt
forembedded_io_async::Write
it would break async support innoline
.embedded_io
as dependency and usedWrite
from there instead ofcore::fmt::Write
.Runner
so thatbuffer
is not owned, but instead is an argument toinput_byte
.#23