Ability to report back slices of printable characters
未關閉
- 主要語言
- Rust
- 星號
- 324
- 分支
- 92
- PR 合併指標
- 30 天內沒有已合併 PR
描述
The trait currently reports a `char` at a time. While terminal emulators might need to operate on `char`s, other tools like stripping of ANSI escape codes or converting them, need to work on slices
- `&str` -> `char` conversion is expensive, relatively speaking
- doing IO per `char` would be expensive
- allocating a `String` to aggregate the `char`s would also be expensive
To workaround this, `anstream` exposed the state changes from its fork, `anstyle-parse`, to do this.
貢獻指南
這個儲存庫沒有索引到貢獻指南
評估
這個 Issue 還沒有評估資料。