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

best/safest TerminalView "interaction" method?


is there a good/reliable way to interact with a terminalview after an input
event?

For example this code...

  Debug TerminalView1.Line, TerminalView1.Column
  TerminalView1.Input("\eb")
  Wait 0.1
  Debug TerminalView1.Line, TerminalView1.Column

the \eb make the cursor go to the start/previous word
but the Column position does not change unless I use the Wait line.

Is using Wait the only way or is there another event/property I can check
to ensure the Input text has done it's thing and the Column/Line properties
are updated?

Seems like using Wait 0.1 is working here but i fear 0.1 might not be
enough in some cases so need something more reliable.

Respects
BruceS

Follow-Ups:
Re: best/safest TerminalView "interaction" method?Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>