Class TextEditInteractive
Interactive text editor
Inherited Members
Namespace: Terminaux.Inputs.Styles.Editor
Assembly: Terminaux.dll
Syntax
public class TextEditInteractive : TextualUI
Methods
| Edit this page View SourceOpenInteractive(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
Type | Name | Description |
---|---|---|
List<string> | lines | Target number of lines |
InteractiveTuiSettings | settings | TUI settings |
bool | fullscreen | Whether it's a fullscreen viewer or not |
bool | edit | Whether it's editable or not |
Render()
Renders this interactive textual UI
Declaration
public override string Render()
Returns
Type | Description |
---|---|
string | A string generated by this function for the RunTui(TextualUI?) function to render to the console |
Overrides
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.