tilix icon indicating copy to clipboard operation
tilix copied to clipboard

paste content in nano removes new lines

Open ciokan opened this issue 3 years ago • 3 comments

I have this strange behavior in nano using the Tilix terminal (works in another terminal) where, if I paste something, the new lines are completely removed, content is wrapped and new lines are created but based on the dimensions of the terminal window. /bin/bash is selected for both terminals and I don't know what to look for any more.

For example when pasting:

#!/bin/bash
valid=true
count=1
while [ $valid ]
do
echo $count
if [ $count -eq 5 ];
then
break
fi
((count++))
done

I get:

!/bin/bash
valid=true count=1 while [ $valid ] do echo $count if [ $count -eq 5 ]; then break fi ((count++))
done

Tested both on manjaro and elementary os (ubuntu 18) and only tilix does this. Completely unusable since many of us rely on nano heavily.

ciokan avatar Nov 05 '20 15:11 ciokan

Hi this is still happening in 1.9.1 when pasting on multiple terminals: only the one with the focus actually paste the content including the new lines

vlad88sv avatar May 26 '21 16:05 vlad88sv

Hi this is still an issue in 1.9.4

vlad88sv avatar Aug 13 '21 18:08 vlad88sv

Pasting in Manjaro with 1.9.4 still breaks the line endings

thereisnotime avatar Jan 06 '22 19:01 thereisnotime