Skip to content

preserve hard tabs #3460

@mcandre

Description

@mcandre

Hi,

Every pager I've tried corrupts hard tabs to spaces.

This happens with more, less, ov, and bat.

It ends up breaking common copy & paste workflows for indentation sensitive languages, including Go and make.

I tried --tabs 0 -p. At first glance, the rendering looks okay. However, when I select the bat paginated source code snippsets in my Terminal.app console, then the output characters turn out to be corrupted into individual spaces.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions