The following protocols are available globally.
API for talking to BearLibTerminal. See
BLTerminalfor the concrete implementation. Use
BLTerminal.mainto get the main instance.
Each docstring briefly explains how it relates to the C API, so you’ll probably want to refer to the original documentation for more information.
By writing your code against this protocol instead of the concreteSee more
BLTerminaltype, you enable unit testing and possible cross-platform compatibility adapters in the future.
public protocol BLTerminalInterface : AnyObject