Protocols
The following protocols are available globally.
-
API for talking to BearLibTerminal. See
BLTerminalfor the concrete implementation. UseBLTerminal.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 concrete
See moreBLTerminaltype, you enable unit testing and possible cross-platform compatibility adapters in the future.Declaration
Swift
public protocol BLTerminalInterface : AnyObject
View on GitHub
Install in Dash
Protocols Reference