 			AttachConsole(cPID)
 			hs:=getStdoutHandle()
 			cmd_int_fwidth:=getFontWidth()
-			setconsoleSize(cmd_w_int:=(CMD_Width//cmd_int_fwidth),getConsoleHeight())
-			cmd_w_fix:=(cmd_w_int*cmd_int_fwidth)
+			
+			if (WinTenPlus) {
+				GetConsoleSize(cmd_w_int,t_console_height)
+				setconsoleSize(cmd_w_int,t_console_height)
+				cmd_w_fix := winW
+			} else {
+				cmd_w_int:=(CMD_Width//cmd_int_fwidth)
+				t_console_height:=getConsoleHeight()
+				setconsoleSize(cmd_w_int,t_console_height)
+				cmd_w_fix:=(cmd_w_int*cmd_int_fwidth)
+			}
+			
 			winW:=CMD_Width+50
+			
 			SysGet,tbarH__,4
 			WinMove,%con%,,,,%winW%,(xC_height+tbarH__)
+
 			WindowDesign(hc)
 			
+			;debugMsgBox(cmd_w_int,t_console_height,tbarH__,xC_height,winW,"_______",cmd_a_w,cmd_a_h)
 			
 			;///////////////////////// [ XP Patch ] /////////////////////////
 			if (XPMode) {

	;	, workTop + (workBottom - workTop) // 2 - H // 2
	return [workLeft,workTop,workRight,workBottom]
}

	SetWinDelay, -1
	global TransparencyPercent
	global Console_2_Mode
	global Console_Mode
	WinSet, Transparent, % currentTrans:=(abs(100-TransparencyPercent)/100)*255 , ahk_id %WindowHWND%
	Winset, AlwaysOnTop, On, ahk_id %WindowHWND%
	
