Closed victor-vb closed 7 months ago
See here for the available methods on InMemoryTerminal
: https://github.com/console-rs/indicatif/blob/main/src/in_memory.rs. However instead of using InMemoryTerminal
, you should probably just implement the TermLike
trait yourself. Then you can use it with ProgressDrawTarget::term_like
.
See here for the available methods on
InMemoryTerminal
: https://github.com/console-rs/indicatif/blob/main/src/in_memory.rs. However instead of usingInMemoryTerminal
, you should probably just implement theTermLike
trait yourself. Then you can use it withProgressDrawTarget::term_like
.
ok, I understand, implement a branch by myself
I want to intercept the output. I don’t know if there is a method or feature to customize the relevant standard output and forward it to the front-end component: xtermjs. What kind of tool should I use?