Closed corpusc closed 7 years ago
The 3 situations I initially listed SHOULD be FIXed now.
However there are more bugs:
FIXED one bug (passes the correct ID all the way through to TerminalStack.Remove().
I encountered very weird behaviour with delete() never working. I made code to verify that the terminal id was in the TermMap.
However when checking by asking the map if a key exists it ALWAYS claims it doesn't exist.
Whereas when I iterate through the Terminal map, and compare the passed id against each one, it always matches with one of the map entries.
Fixed the wrong terminal id being passed (awhile back).
I'm gonna rework this whole thing to work similar to how the "focus" command works. So there is no need to list terminals in GL mode (or use a sequential id from the list, which is different from the Terminal's id).
when feeding values of 0-2 (and 2 terminals listed):