- Jan
- 1,189
- 25
_%ConPTY is always 1 in TCMD tabs.
Here it's ok:
But HERE it's clearly a Conhost tab, so here it should be 0:
Here it's ok:
But HERE it's clearly a Conhost tab, so here it should be 0:
By registering with us, you'll be able to discuss, share and private message with other members of our community.
SignUp Now!v:\> echo %@winapi[user32,GetClassName,%@winapi[kernel32,GetConsoleWindow],buffer,32]
ConsoleWindowClass
v:\> echo %@winapi[user32,GetClassName,%@winapi[kernel32,GetConsoleWindow],buffer,32]
PseudoConsoleWindow
start /tab /pgm C:\PROGRA~1\JPSoft\TCMD36\tcc.exe. A new tab opens with the following content (I added some code to TCSTART.BTM to display some session info):TCC Version: 36.50.71
TCMD Tab: Yes
ConPTY: Yes
Elevated: No
TCSTART complete.
[TCC36.50.71 (6324) C:\Users\Jay\Dropbox]
->echo %@winapi[user32,GetClassName,%@winapi[kernel32,GetConsoleWindow],buffer,32]
ConsoleWindowClass
Rex, it IS a conhost tab, because the ConPTY checkbox is not activated.
But I still don't know why anyone needs %_conpty.