cpjreynolds / rustty

A terminal UI library
https://docs.rs/rustty
MIT License
153 stars 14 forks source link

update term version #62

Closed bmoxb closed 1 year ago

bmoxb commented 1 year ago

When creating a Terminal instance, I got the following error (running PopOS 22.04 with default terminal):

thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Custom { kind: NotFound, error: "terminal missing capability: 'smcup'" }', src/main.rs:12:44

I was able to fix this by simply updating the term dependency to its latest release (0.7). I thought it would be helpful to submit this PR as others may encounter the same issue in future.