Starts capturing lines and sending them to the specified window. If ‘name’ is omitted, lines are sent to the command editor (assuming capturing is enabled within the editor). Otherwise, the lines are sent to the named window. The window is created if it doesn’t exist. If the Capture Commands option is on in the preferences, then commands entered into the command line will also be captured to the window.