private function getTaskActionStatusSectionFromContext(array $context)
    {
        $actionStatusSection = '';
        if ($this->output->isDecorated()) {
            $actionStatusSection = sprintf(self::ANSI_CURSOR_BACKWARD_FORMAT, 1);
        }
        if (isset($context['event.task.action']) && isset($this->taskActionStatusToOutputMap[$context['event.task.action']])) {
            $actionStatusSection = sprintf('[<event-task-action-%1$s>%2$s</event-task-action-%1$s>]', $context['event.task.action'], $this->taskActionStatusToOutputMap[$context['event.task.action']]);
        }

        return $actionStatusSection;
    }