Skip to content

Line-endings are consumed by kitty when copied to clipboard buffer #2809

@basiliscos

Description

@basiliscos

Describe the bug

Line-endings are consumed by kitty when copied to buffer

To Reproduce
It is not 100% reproducible, but I usually do git diff on console, and then copy output somewhere... the larger is output, the greater is chance of the bug

Screenshots

https://i.imgur.com/z7aRa6V.png

https://i.imgur.com/76vjZQa.png

Environment details

void linux, awesome wm

uname -a
Linux localhost 5.4.49_1 #1 SMP PREEMPT Fri Jun 26 14:34:01 UTC 2020 x86_64 GNU/Linux

kitty --debug-configkitty 0.18.1 created by Kovid GoyalLinux localhost 5.4.49_1 #1 SMP PREEMPT Fri Jun 26 14:34:01 UTC 2020 x86_64
Void \r (\n) (\l)
Loaded config files: /home/b/.config/kitty/kitty.conf
Running under: X11

Config options different from defaults:
scrollback_lines 20000
tab_bar_edge     1
term             xterm```

**Additional context**

the same behaviour I've seen on v0.17.x

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions