Automatically hooked-up Event; called on each screen being received from the host. Calls the onnewscreen event if defined.
Note that with VT (character mode) hosts,all keystrokes will trigger this event, so it should have a quick dispatch logic to avoid excessive drag on the emulator. For example, as included in the sample HTML, a simple state value can be set to trigger evaluation of the active screen. This state value can in-turn be managed by the OnSend, which can watch for true transition keys such as [enter]. Usually if there is a screen to watch, any OnSend with a key other than [tab] is probably good to trigger setting the state for monitoring.
Parameter |
Description |
emSess |
The FVTerm Emulation Session object -- this has many properties and not many functions but can be explored with a debugger |
screenName |
If the FVTerm web.config file has an application and definition file defined, will be the recognized screen's name or "default" if not recognized. |
Return Value |
Description |
void |
Return value ignored |