copy paste is munging things into borkage
Copy some python code in Firefox. Paste it in nano in kgx. Paste it in nano in GNOME Terminal. Compare.
Not only is kgx dropping some (all?) line endings some of the time, it's randomly removing #
e.g.
Correct (GNOME Terminal)
# Simple python program to print out all the extents of a single file
# LGPLv2 license
# Copyright Facebook 2014
Incorrect (kgx)
# Simple python program to print out all the extents of a single file LGPLv2 license Copyright Facebook 2014
Detail steps:
- in firefox https://raw.githubusercontent.com/kdave/btrfs-progs/master/btrfs-debugfs
- copy it
- GNOME Terminal run nano, paste into a file
- kgx run nano, paste into a different file
compare.
The GNOME Terminal one executes without error. The kgx one fails https://github.com/kdave/btrfs-progs/issues/440
Edited by cmurf