-
Notifications
You must be signed in to change notification settings - Fork 123
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
Luacontroller ignores pasted newlines #682
Comments
@Bituvo Can you reproduce the same issue with other items, such as the Minetest Game book editor? Copy&paste does not trigger any Lua callback on its own, thus this would be Luanti/Minetest engine issue. mesecons/mesecons_luacontroller/init.lua Lines 690 to 703 in dd073d2
|
Yes, it does happen with the book as well. I'm using the stable release of 5.10.0, let me update to the latest commit... |
I've updated to the latest commit and the issue still occurs; in the Luacontroller, all newlines are removed when I press "Execute" without having to re-open the formspec. With the book editor, the "Save" button saves a copy of the text with all newlines stripped from it. |
Please check for open Luanti/Minetest issues or open a new one if there's none. |
If I copy text that contains newlines into a luacontroller, all of the newlines disappear when I try to run it.
This problem occurs if I copy text from any source, including another properly-formatted luacontroller.
The text was updated successfully, but these errors were encountered: