function Window.AddLine(Y,Q,z)Q=tostring(Q)if#Q==0 then Window:UpdateWindowHeight()return end local J=Y.Cmdr.Util.EmulateTabstops(Q or"\110\105\108",8)local H=Line:Clone()H.Size=UDim2.new(H.Size.X.Scale,H.Size.X.Offset,0,(TextService:GetTextSize(J,H.TextSize,H.Font,Vector2.new(Gui.UIListLayout.AbsoluteContentSize.X,math.huge))).Y+(LINE_HEIGHT-H.TextSize))H.Text=J H.TextColor3=z or H.TextColor3 H.Parent=Gui end
--- Add a line to the command bar
function Window:AddLine(text, color)
	text = tostring(text)

	if #text == 0 then
		Window:UpdateWindowHeight()
		return
	end

	local str = self.Cmdr.Util.EmulateTabstops(text or "nil", 8)
	local line = Line:Clone()
	line.Size = UDim2.new(
		line.Size.X.Scale,
		line.Size.X.Offset,
		0,
		TextService:GetTextSize(
			str,
			line.TextSize,
			line.Font,
			Vector2.new(Gui.UIListLayout.AbsoluteContentSize.X, math.huge)
		).Y + (LINE_HEIGHT - line.TextSize)
	)
	line.Text = str
	line.TextColor3 = color or line.TextColor3
	line.Parent = Gui
end
