mirror of
https://git.meli.delivery/meli/meli
synced 2024-11-09 01:10:33 +00:00
e8e7697001
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> |
||
---|---|---|
.. | ||
src | ||
Cargo.lock | ||
Cargo.toml | ||
README.md | ||
rustfmt.toml |
meli
tools
This crate holds a collection of small binaries used mostly for meli development.