You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wonder how to store and pass around Terminal of any type: no matter if it logs to stdout, stder, on Windows, or elsewhere. Like Box<Terminal>, that because of type Output seems currently impossible. I wish I could have Box<Terminal<Output=Write>> or something like that.
Am I missing something, and if not, could some solution for this be provided?
The text was updated successfully, but these errors were encountered:
Hmm... yes, that's rather annoying. Unfortunately, I can't think of a backwards compatible way to fix it but I'll consider fixing it in a backwards incompatible release. In the meantime, we don't plan on adding more terminal types (in this version of term) so you could always implement that enum.
Hi,
I wonder how to store and pass around
Terminal
of any type: no matter if it logs to stdout, stder, on Windows, or elsewhere.Like Box<Terminal>
, that because oftype Output
seems currently impossible. I wish I could haveBox<Terminal<Output=Write>>
or something like that.Am I missing something, and if not, could some solution for this be provided?
The text was updated successfully, but these errors were encountered: