Skip to content

:terminal isn't colored when termguicolors is on #6186

@mityu

Description

@mityu

Describe the bug
:terminal isn't colored when termguicolors is on.

To Reproduce

$vim --clean
:set termguicolors
:terminal <a command that outputs some colored text>

Expected behavior

The text is colored.

Screenshots

  • set termguicolors

screenshot-termguicolors

  • set notermguicolors

screenshot-notermguicolors

Environment:

Vim: 8.1.0884
OS: macOS Catalina 10.15
Terminal: Alacritty and mlterm

Additional context

This problem doesn't happen without this patch: e023e88

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions