[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using TeminalScreen.class to move cursor


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

End

That 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/correctly
or 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.


Follow-Ups:
Re: Using TeminalScreen.class to move cursorBruce Steers <bsteers4@xxxxxxxxx>
References:
Using TeminalScreen.class to move cursorBruce Steers <bsteers4@xxxxxxxxx>