This patch is based on the commit described below, taken from upstream pull request https://github.com/tealdeer-rs/tealdeer/pull/389
commit 859c97b90a2947bd16b010c5db01c37932bb21e8
Upgrade yansi: 0.5.1 -> 1.0.1
- Adapt to `thing.paint(style)` API; was `style.paint(thing)` - Remove `yansi::Paint::enable_windows_ascii()` in style usage decision; removed in yansi commit b186eb5bfb, which introduced "automatic" support for Windows: "If support is not available, styling is disabled and no styling sequences are emitted", fitting the `Auto` option