Skip to content

Bug: 复制带有换行的文本粘贴后会将换行转成发送 #1036

@dalamudx

Description

@dalamudx

Describe the problem

Image

比如复制第一个命令和输出内容,执行粘贴后会把第一行直接发送,而原文本中的输出内容作为另一部分,且显示有问题,这个显示问题我会在另一个issue中单独说下。目前这种在windows terminal中正常,感觉像是最近版本引入的问题

Steps to reproduce

1.复制带有换行的文本
2.粘贴

Expected behavior

应当将复制的文本作为一个整体进行粘贴

Actual behavior

粘贴后会把第一行直接发送,而原文本中的输出内容作为另一部分

Environment

  • App: netcatty 1.1.7
  • Platform: win10
  • UA: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) netcatty/1.1.7 Chrome/144.0.7559.236 Electron/40.8.5 Safari/537.36

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions