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

New init function to selectively enable/disable some features #83

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mikedlowis
Copy link

Added a new init function that allows users to selectively enable/disable some features. By default CA mode and keypad are enabled during init. This is potentially problematic when the application will be launched or used from an application like Vim which itself is already using the alternate screen. To address this issue I have added the tb_init_with function which accepts an integer bitfield of the features to enable on initialization. Currently only CA mode or Keypad are specified in the bitfield but more could be added later if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant