peek

open fun peek(offset: Int): Char

Returns the character at the current cursor position + offset but does not advance the cursor.


open fun peek(): Char

Returns the character at the current cursor position but does not advance the cursor.