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
{{ message }}
This repository has been archived by the owner on Aug 6, 2023. It is now read-only.
I'm trying to get a hold of the crossterm screen so I can use it to access the ability to use input; however, for some reason the type of struct it returns is completely different to what crossterm expects.
error[E0308]: mismatched types
--> src/main.rs:70:46
|
70 | let scr = crossterm::Crossterm::from_screen(term.backend().screen());
| ^^^^^^^^^^^^^^^^^^^^^^^ expected struct `crossterm::Screen`, found struct `crossterm::common::screen::screen::Screen`
|
= note: expected type `&crossterm::Screen`
found type `&crossterm::common::screen::screen::Screen`
I don't know whether this is a crossterm issue, or a tui issue, but I can't seem to figure out a way forward. Is this something that should be possible or not?
The text was updated successfully, but these errors were encountered:
JonBoyleCoding
changed the title
Getting Crossterm Screen
Getting crossterm::common::screen::screen::Screen Screen from backend instead of crossterm::Screen
Jan 29, 2019
I'm trying to get a hold of the crossterm screen so I can use it to access the ability to use input; however, for some reason the type of struct it returns is completely different to what crossterm expects.
I don't know whether this is a crossterm issue, or a tui issue, but I can't seem to figure out a way forward. Is this something that should be possible or not?
The text was updated successfully, but these errors were encountered: