[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using TeminalScreen.class to move cursor
[Thread Prev] | [Thread Next]
- Subject: Re: Using TeminalScreen.class to move cursor
- From: Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
- Date: Sat, 30 Mar 2024 10:31:42 +0100
- To: user@xxxxxxxxxxxxxxxxxxxxxx
Le 30/03/2024 à 02:40, Bruce Steers a écrit :
If i move the cursor by using TerminalScreen what am i missing to update the view?For example this code... Public Sub btnMoveLeft_Click() TerminalView1._GetCurrentScreen().CursorLeft() EndThat moves the cursor left , if the cursor was initially at eol then if i use the keyboard to go right the terminal thinks i am at eol still and blinks and does not move.So either i need a way to move the cursor that updates the terminal properly/correctlyor i need to update it manually after the position move. Can't figure out what i'm missing in how the terminalview works.(yes i know i'm tinkering with a hidden function of the internal API , but i couldn't find any other way, so how must I do it properly?)Cheers for any info/solutions BruceS
You must use the 'TerminalView.Print()' method and send VT-100 escape codes if you want to move the cursor.
Regards, -- Benoît Minisini.
Re: Using TeminalScreen.class to move cursor | Bruce Steers <bsteers4@xxxxxxxxx> |
Using TeminalScreen.class to move cursor | Bruce Steers <bsteers4@xxxxxxxxx> |