Search Results for

    Show / Hide Table of Contents

    Class TextEditInteractive

    Interactive text editor

    Inheritance
    object
    TextualUI
    TextEditInteractive
    Inherited Members
    TextualUI.Guid
    TextualUI.State
    TextualUI.Name
    TextualUI.RefreshDelay
    TextualUI.Keybindings
    TextualUI.Fallback
    TextualUI.Renderables
    TextualUI.RequireRefresh()
    Namespace: Terminaux.Inputs.Styles.Editor
    Assembly: Terminaux.dll
    Syntax
    public class TextEditInteractive : TextualUI

    Methods

    | Edit this page View Source

    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
    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

    | Edit this page View Source

    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
    TextualUI.Render()
    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.

    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX