make wrapper for try_curs_set and use in get_string