Search Results for

    Class ConsolePositioning

    Console positioning tools

    Inheritance
    object
    ConsolePositioning
    Namespace
    Terminaux.Base.Extensions @ Terminaux.dll
    Syntax
    public static class ConsolePositioning


    Methods

    ClearKeepPosition()

    Clears the console buffer, but keeps the current cursor position

    Declaration
    public static void ClearKeepPosition()

    GetFilteredPositions(string, bool, params object[])

    Get the filtered cursor positions (by filtered means filtered from the VT escape sequences that matches the regex in the routine)

    Returns
    (int Width, int Height)
    Declaration
    public static (int, int) GetFilteredPositions(string Text, bool line, params object[] Vars)
    Parameters
    Name Type Description
    Text string

    The text that contains the VT sequences

    line bool

    Whether to simulate the new line at the end of text or not

    Vars object[]

    Variables to be formatted in the text

    RenderChangePosition(int, int)

    Renders the VT sequence that changes the cursor position

    Returns
    string
    Declaration
    public static string RenderChangePosition(int left, int top)
    Parameters
    Name Type Description
    left int

    Zero-based left position

    top int

    Zero-based top position

    Show / Hide Table of Contents

    Table of contents



      About

      Copyright © 2014-2026 Aptivi

      Find us

    •  
    •  
    •  
    •  
    •  
    •  
    • Social media

    •  
    •  
    •  
    •