termux-app icon indicating copy to clipboard operation
termux-app copied to clipboard

[Bug]: Termux text select -> copy removes newlines

Open aki-k opened this issue 2 years ago • 0 comments

Problem description

When selecting text in Termux and using copy, the content that is copied to the copy buffer is missing newlines.

Steps to reproduce the behavior.

  1. open a ssh connection to a ssh server
  2. open a text file in the ssh session with vim (the text file has 5 lines)
  3. select all the lines
  4. paste the lines in https://paste.linux.chat/
  5. newlines are removed

What is the expected behavior?

newlines should have been included in the paste

System information

  • Termux application version: 0.118.0
  • Android OS version: 11
  • Device model: Motorola Moto One 5G Ace

aki-k avatar Jun 20 '23 10:06 aki-k