pub fn ttytype() -> Result<String, NCurseswError>