Martin Geisler

Results 192 issues of 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.

enhancement
help wanted

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...

enhancement
help wanted

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.

enhancement
help wanted

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...

enhancement
help wanted

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).

enhancement

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...

enhancement

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)....

enhancement
help wanted

There has been a few bugfixes since 0.11, so I hope you will be happy to switch to the latest and greatest version.