TerminalResizeListener
public interface VirtualTerminalListener extends TerminalResizeListener
VirtualTerminal
that allows you to receive callbacks on certain events. Please note that
while this extends TerminalResizeListener
and can be attached to a VirtualTerminal
through
Terminal.addResizeListener(TerminalResizeListener)
, in that case only the
resize event will fire on the listener.Modifier and Type | Method | Description |
---|---|---|
void |
onBell() |
Called when the
Terminal.bell() method is invoked on the VirtualTerminal |
void |
onClose() |
Called when the
Terminal.close() method is invoked on the VirtualTerminal |
void |
onFlush() |
Called when the
Terminal.flush() method is invoked on the VirtualTerminal |
onResized
void onFlush()
Terminal.flush()
method is invoked on the VirtualTerminal
void onBell()
Terminal.bell()
method is invoked on the VirtualTerminal
void onClose()
Terminal.close()
method is invoked on the VirtualTerminal
Copyright © 2020. All rights reserved.