Skip to content

endOfLineChar()

CreativeRobotics edited this page Sep 5, 2020 · 2 revisions
Commander& endOfLineChar(char eol)
char endOfLineChar()

Set or get the character used to mark the end of a command line. By default this is the newline character.

When commander is reading a stream, it will fill up its buffer until it encounters this character, then it will attempt to process the buffer and handle any commands found there.

Clone this wiki locally