cpjreynolds / rustty

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

Update `term` dependency to fix termfile issues #58

Open jcreigh opened 6 years ago

jcreigh commented 6 years ago

The new release fixes Stebalien/term#81, which was caused by changes to the termfile format.

The error provided was StringError("terminal missing capability: \'smcup\'"), which lead me to have a very confused look into my terminfo instead of into the libraries. I think it's worth just letting it throw the exception since using a blank TermInfo always just throws an irrelevant message. https://github.com/cpjreynolds/rustty/blob/40d827f81c47a01ad4398b78c33d2fb9e76373d2/src/core/driver.rs#L124-L138

lovesegfault commented 6 years ago

My code is currently broken with thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Custom { kind: NotFound, error: StringError("terminal missing capability: \'smcup\'") }', libcore/result.rs:945:5 due to this. It'd be nice if the package was updated

SamMatzko commented 2 years ago

This error still exists on my system, even though it supposedly was fixed (albeit a long time ago). Could we reopen this issue?

WhiteBlackGoose commented 1 year ago

Hitting this issue too!