Skip to content

Terminal markup reference

Fluent extensions declared by the Aprillz.MewUI.Terminal package.

Receiver: TerminalView.

Method Sets Summary
ColorScheme(TerminalColorScheme value) ColorScheme Sets the colors; the default is Campbell.
Connection(ITerminalConnection value) Connection Sets the connection whose output this terminal shows; the terminal does not start or dispose it.
CursorShape(TerminalCursorShape value) CursorShape Sets the cursor shape shown until the application chooses one; the default is Bar.
InitialColumns(int value) InitialColumns Sets the columns the terminal asks for when it is measured.
InitialRows(int value) InitialRows Sets the rows the terminal asks for when it is measured.
OnBell(Action handler) event Bell Subscribes handler to Bell. Occurs when the application rings the bell.
OnConnectionClosed(Action<int> handler) event ConnectionClosed Subscribes handler to ConnectionClosed. Occurs when the connection ends, with its exit code or -1.
OnHyperlinkActivated(Action<string> handler) event HyperlinkActivated Subscribes handler to HyperlinkActivated. Occurs when the user Ctrl+clicks a hyperlink, with its URI.
OnTitleChanged(Action<string> handler) event TitleChanged Subscribes handler to TitleChanged. Occurs when the application sets a title, with the new title.
OptionIsMeta(bool value = true) OptionIsMeta Sets whether Option (Alt) with a key that types a character, such as Option+O typing ø on a Mac, sends ESC and the key’s base character (Meta) instead of the character; the default is false.
ScrollbackLines(int value) ScrollbackLines Sets the number of rows of output kept above the screen; the default is 9001.
TextPadding(double value) TextPadding Sets the space between the edge and the cells, in DIPs; the default is 4.