A library for text mode user interfaces