Skip to content

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