This repository was archived by the owner on Aug 6, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 488
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(backend/crossterm): support more style modifiers on Windows …
…and fix build with Crossterm 0.17.8 (#368) * Support more style modifiers on Windows * Change Crossterm backend to write directly to buffer instead of String Crossterm might actually do WinAPI calls instead of writing ANSI excape codes so writing to an intermediate String may cause issues on older versions of Windows. It also fails to compile with Crossterm 0.17.8 due to Crossterm now expecting the writer to support `flush`, which String doesn't. Fixes #373
- Loading branch information
1 parent
aada695
commit e0b2572
Showing
1 changed file
with
7 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters