Skip to content

bad ansi escape sequences parsing? #79

Description

@name-snrl

In some cases escape sequences are not converted to colors.


to reproduce:

nvimpager -p part.log

part.log

nvimpager full.log

full.log

I use fish, many of its man pages have the same problem, e.g. man fish-doc


I have tried several setups (with alacritty 0.11.0):

  • NVIM v0.5.1 +nvimpager-0.10.4 (nixpkgs 21.11)
  • NVIM v0.7.0 +nvimpager-0.10.4 (nixpkgs 22.05)
  • VIM 8.2 (2019 Dec 12, compiled Jan 01 1980 00:00:00) +vimpager 2.06 (nixpkgs 22.11
    nix shell nixos/nixpkgs/nixos-21.11#vim nixpkgs/nixos-21.11#vimpager-latest)

Also, I tried changing TERM to xterm-256color. Everywhere the same result.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ansi2highlightparsing and interpreting terminal escape sequences and converting ansi colors to highlight groupsenhancement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions