Skip to content

oflags

const oflags: object

Defined in: src/drivers/tty/termios.ts:18

Output flags, i.e. c_oflag

readonly OCRNL: 8 = 0x0008

Map CR to NL on output

readonly ONLCR: 4 = 0x0004

Map NL to CR-NL on output, which is what a terminal needs to return to column 0

readonly ONLRET: 32 = 0x0020

Don’t send CR at all

readonly OPOST: 1 = 0x0001

Do any output processing at all. Without this the rest are ignored.