setTerminalListener

fun setTerminalListener(listener: TerminalListener)

Sets the current implementation of TerminalListener. This will replace any previous TerminalListeners that have been registered.