This repository has been archived by the owner on Aug 6, 2023. It is now read-only.
When does terminal.size() return an error? #592
Unanswered
Bunch-of-cells
asked this question in
Q&A
Replies: 1 comment
-
I don't know for sure because I don't know tui-rs much, but an exemple is : When it runs whithout being attached to a terminal. for instance, you run it in a subshell var=$(cargo run --exemple demo) for more info, I guess you could read into TTYs. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The type signature of
CrosstermBackend::size()
is(&self) -> io::Result<Rect>
, so when does it return an error?Beta Was this translation helpful? Give feedback.
All reactions