Interface VirtualTerminalListener
- All Superinterfaces:
TerminalResizeListener
Listener class for
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.-
Method Summary
Modifier and TypeMethodDescriptionvoidonBell()Called when theTerminal.bell()method is invoked on theVirtualTerminalvoidonClose()Called when theTerminal.close()method is invoked on theVirtualTerminalvoidonFlush()Called when theTerminal.flush()method is invoked on theVirtualTerminalMethods inherited from interface TerminalResizeListener
onResized
-
Method Details
-
onFlush
void onFlush()Called when theTerminal.flush()method is invoked on theVirtualTerminal -
onBell
void onBell()Called when theTerminal.bell()method is invoked on theVirtualTerminal -
onClose
void onClose()Called when theTerminal.close()method is invoked on theVirtualTerminal
-