Table of Contents

Property TabKeyAddsTab

Namespace
Terminal.Gui.Views
Assembly
Terminal.Gui.dll

TabKeyAddsTab

Gets or sets whether Tab inserts a tab character (\t) into the TextView.

public bool TabKeyAddsTab { get; set; }

Property Value

bool

Remarks

Default: true

If TabKeyAddsTab is set to true, and the user presses Tab, a tab character is inserted at the current cursor position; if Shift+Tab is pressed, a tab character is removed from the current cursor position if one exists.

If TabKeyAddsTab is set to false, the Tab event and the Shift+Tab is bubbled recursively to the up hierarchy. If left unhandled, the app will move focus to the next or previous view.