Handles screen-related CSI sequences.
Handles screen commands.
@spec handle_command(term(), list(), String.t()) :: {:ok, term()} | {:error, term()}