Martin Geisler
Martin Geisler
As mentioned in https://github.com/sharkdp/bat/issues/305#issuecomment-1176321478, it could be useful to have a command which reads lines from `stdin` and sends wrapped output to `stdout`.
This is for the WebAssembly demo.
With #332 merged, it is now possible to customize the way text is split into words via the `WordSeparator` trait. From the discussion in #220, I understand that the [rust_icu...
In #224, @veikman mentioned his new runwrap library and it has [this](https://github.com/veikman/runwrap/blob/main/src/lib.rs#L60-L63) comment: ```rust /// Preserve initial indentation on unwrapping. /// This is a workaround for textwrap’s tendency to interpret...
We can add a few dictionaries from https://github.com/tapeinosyne/hyphenation/tree/master/dictionaries and then download the dictionary at runtime. We just need to transport it to the `draw_wrapped_text` function.
The method is terribly complex and somewhat slow — we should rework it to have a fast path for the case where we don't see any `CSI` characters in the...
The Wasm demo should show the per-line penalties as well at the total penalty (perhaps only when using the optimal-fit wrap algorithm, so this depends on #321).
We currently show the latency for the last wrapping done in `cargo run --example interactive`. It looks like this: ``` Options: Performance: - width: 75 (use ← and → to...
It could be useful if we could wrap text on explicit soft-hyphens, U+00AD. In my limited testing, soft-hyphens are shown as spaces in a terminal (I tested with Gnome Terminal)....
There has been a few bugfixes since 0.11, so I hope you will be happy to switch to the latest and greatest version.