Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Unable to paste multiline into the "Commit subject" field #2290

Open
xumix opened this issue Aug 8, 2024 · 5 comments
Open

[Bug] Unable to paste multiline into the "Commit subject" field #2290

xumix opened this issue Aug 8, 2024 · 5 comments

Comments

@xumix
Copy link

xumix commented Aug 8, 2024

If you copy a string containing control chars (\n for instance) Fork does not allow pasting of the string into the "Commit subject" field.
This happens a lot when I copy the message from a bugtracker's issue title.
I think it should allow it or, if this is not possible, trim/remove forbidden characters from the message

@DanPristupov
Copy link
Contributor

If you copy a string containing control chars (\n for instance)

Screen.Recording.2024-08-08.at.15.27.27.mov

@xumix
Copy link
Author

xumix commented Aug 8, 2024

If you copy a string containing control chars (\n for instance)

Screen.Recording.2024-08-08.at.15.27.27.mov

2024-08-08_172021_Notion_remcsA1s5E.mp4

@DanPristupov
Copy link
Contributor

OK, what exactly should I paste? I can't reproduce the problem.

@xumix
Copy link
Author

xumix commented Aug 8, 2024

I suppose the problem is in the leading newline control char, I'll attach the repro tomorrow.
Thanks for the fast response 👍

@xumix
Copy link
Author

xumix commented Aug 9, 2024

Here is the text I'm trying to paste:
Ctrl+a, Ctrl+c from the file, then try to Ctrl+v into the subject field
bug.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants