You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
meli/tools
Manos Pitsidianakis e8e7697001
terminal: fix edge case with strings/linebreaking
When printing and line-breaking a string in CellBuffer::write_string(),
the line should continue from the "beginning" of the previous one.
However it might be different than the offset of the first character of
the string, because it may be indented already.

This would result in awkward line breaks like:

            Available actions: [ list- |# end of terminal/border
            post, list-unsubscribe, lis|
            t-archive ]

This commit adds an extra argument to write_string() to specify the x
offset of the string, so that we can apply it while printing characters
but ignore it when the line changes; then the x coordinate will take the
value of the line_break value.

Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
3 weeks ago
..
src terminal: fix edge case with strings/linebreaking 3 weeks ago
Cargo.lock tools: remove obsolete imapshell.rs and smtp_conn.rs 3 weeks ago
Cargo.toml tools: remove obsolete imapshell.rs and smtp_conn.rs 3 weeks ago
README.md tools: remove obsolete imapshell.rs and smtp_conn.rs 3 weeks ago
rustfmt.toml Move managesieve-client binary to tools/ 7 months ago

README.md

meli tools

This crate holds a collection of small binaries used mostly for meli development.