KTerminalHistory

class KTerminalHistory(val file: Path? = null, val maxLength: Int = -1)

Constructors

Link copied to clipboard
constructor(file: Path? = null, maxLength: Int = -1)

Properties

Link copied to clipboard
val file: Path?
Link copied to clipboard
var index: Int
Link copied to clipboard

Functions

Link copied to clipboard
fun add(cmd: String)
Link copied to clipboard
fun load(path: Path)
Link copied to clipboard
fun onDownArrow(block: (String?) -> Unit)
Link copied to clipboard
fun onUpArrow(block: (String?) -> Unit)
Link copied to clipboard
fun save()
Link copied to clipboard
open override fun toString(): String