Skip to content

v0.1.3

Choose a tag to compare

@phd1000x-ux phd1000x-ux released this 13 May 01:04
· 131 commits to main since this release

Render fixes for stream output that uses CRLF, tabs, or invisible-on-bg color tokens.

What's new

  • CRLF stream output renders correctly. A stray \r from \r\n-terminated stream text (common on macOS and from !shell magic) used to send the cursor back to column 0 and have padding overwrite the box. wrap_line now drops \r.
  • Tabs in stream output align correctly. \t was counted as zero-width by unicode-width while the terminal jumped to the next 8-col tab stop, so the box right-side ended up wrapped onto a phantom blank line. \t now expands to spaces up to the next content-position 8-col stop.
  • IPython magic paths (!ls ./artifacts) stay visible. syntect's base16-*.dark themes emit ./path tokens with a foreground equal to the theme background — text was there but invisible. We now replace bg-colored fg with the theme's default foreground; other tokens keep their original color.

No breaking changes. `cargo install nbv` upgrades cleanly from 0.1.2.

Install

```bash
cargo install nbv
```

Or grab the prebuilt macOS arm64 binary below.

Full changelog: v0.1.2...v0.1.3