Class TextEditInteractive
Interactive text editor
Inheritance
Inherited Members
Namespace
Syntax
public class TextEditInteractive : TextualUI
Methods
OpenInteractive(ref List<string>, InteractiveTuiSettings?, bool, bool)
Opens an interactive text editor
Declaration
public static void OpenInteractive(ref List<string> lines, InteractiveTuiSettings? settings = null, bool fullscreen = false, bool edit = true)
Parameters
| Name | Type | Description |
|---|---|---|
| lines | List<string> | Target number of lines |
| settings | InteractiveTuiSettings | TUI settings |
| fullscreen | bool | Whether it's a fullscreen viewer or not |
| edit | bool | Whether it's editable or not |
Render()
Renders this interactive textual UI
Remarks
Generated sequence, which will be used for rendering, has lower priority than Renderables, so any renderable container specified in that property will overwrite what's been rendered.
Returns
string
A string generated by this function for the RunTui(TextualUI?) function to render to the console
Declaration
public override string Render()