Skip to content

copied text includes whitespace #2108

@dead10ck

Description

@dead10ck

Problem description

When you select a few lines from Termux and copy them, a whole bunch of extra whitespace gets copied to the clipboard. It's as if all the blank space on the screen is rendered as whitespace characters, instead of... well, nothing. e.g. if your screen is 120 characters wide, and a line only has 20 characters, what gets copied to the clipboard is those 20 characters and then 100 whitespaces.

It makes it pretty useless for copying more than one line at a time.

Steps to reproduce

Run a command that prints out a few short lines, then copy all the lines, then paste in another app.

Expected behavior

Only the actual text should be copied.

Additional information

  • Termux application version: 0.113
  • Android OS version: Oxygen OS 11.0.1.1.HD65A
  • Device model: OnePlus 7T

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