Open multiple sessions in a single TinyTERM window, at least three. Check the session number for each with this command:
te.displaynl(_str(IsSess(CSESS)));
They will be numbered in sequence left to right, starting with session 0.
Now close session 0, the one at the left. The remaining sessions will update their index numbers. The leftmost, which used to be 1, is now 0.
Click on the tab for session 0 to make it active. Then open another session. It opens as the leftmost session, pushing the active session’s tab to the right, but indexes to be the highest-numbered session. So the second session is 0, not 1.
Make that leftmost session active again, and open another session. It will open immediately to the right of the current session, leaving it at the far left. The new session will be the highest numbered. This makes the third tab session 0.
While this does not affect TinyTERM’s basic functionality, scripts that look for specific session numbers don’t find them in the correct place.
CR 878