-
Notifications
You must be signed in to change notification settings - Fork 2k
Singleline allows \n if the user copies it #7389
Copy link
Copy link
Closed
Labels
Milestone
Description
Describe the bug
Singleline is supposed to not allow any \n aka LINE FEED character, however it's possible if the user pressing ctrl+v to paste it in
To Reproduce
Steps to reproduce the behaviour:
- Use
egui::TextEdit::singleline - Copy a LINE FEED character
- Use
ctrl+vto paste it into the singleline
Expected behaviour
It should not allow a LINE FEED character into the singleline
Video
bugrep.mp4
Desktop (please complete the following information):
- OS: Gentoo/Linux x86_64 Wayland
Additional context
Useful link to the character itself for more details on it
https://unicode-explorer.com/c/000A
Reactions are currently unavailable