The zsh prompt has been updated to fix the lack of line wrapping in the zsh shell. The proposed solution at https://github.com/ohmyzsh/ohmyzsh/issues/2314 [which is delimiting the color codes] worked and now the prompt properly wraps lines.