Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create terminal UI (ncurses) wrapper #168

Open
cmannett85 opened this issue May 22, 2021 · 0 comments
Open

Create terminal UI (ncurses) wrapper #168

cmannett85 opened this issue May 22, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@cmannett85
Copy link
Owner

As a part of #144 ncurses is being used to create the UI. As a C interface it doesn't fit the patterns used in this project very well, I'm not doing any error checking with it as it involves manually checking error codes and throwing, and using it directly means that swapping it out for another library will be painful.

The solution is to create a facade (wrapper) object for it that exposes just the functions I need, does any initialisation and cleanup as a part of its lifetime, and does all the error management.

@cmannett85 cmannett85 added the enhancement New feature or request label May 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant