writeInput

abstract fun writeInput(data: ByteArray, offset: Int = 0, length: Int = data.size)(source)

Write data to the terminal (from PTY/transport).


abstract fun writeInput(buffer: ByteBuffer, length: Int)(source)

Write data to the terminal using ByteBuffer (more efficient for large data).