get Last Command Output
Get the text output of the last completed command.
Uses OSC 133 semantic segments to find the boundaries of the most recent completed command output. Requires shell integration (OSC 133) to be enabled in the user's shell.
Return
The command output text, or null if no completed command is found