Pressing enter in sleep chat box closes formspec #3798

Open
opened 2023-06-15 00:57:53 +02:00 by ThePython10110 · 3 comments
Contributor

MineClone2 version:

What happened?

Pressing enter in the chat box in the "You're sleeping" formspec closes the formspec.

What should happen:

The chat message should be sent and the formspec should close.

Steps to reproduce

Place a bed. Sleep in it. Type something in the chat box and press enter.

<!-- Thanks for taking the time to fill out this bug report! Please follow our contributing guidelines first: https://git.minetest.land/MineClone2/MineClone2/src/branch/master/CONTRIBUTING.md#rules-about-both-bugs-and-feature-requests By submitting this issue, you agree to follow our Code of Conduct: https://git.minetest.land/MineClone2/MineClone2/src/branch/master/CODE_OF_CONDUCT.md --> <!-- What version of MineClone2 are you using? We do not provide support for outdated versions of MineClone2. Current latest version is listed here, at the top: https://git.minetest.land/MineClone2/MineClone2/tags --> MineClone2 version: ### What happened? Pressing enter in the chat box in the "You're sleeping" formspec closes the formspec. ### What should happen: The chat message should be sent and the formspec should close. ### Steps to reproduce Place a bed. Sleep in it. Type something in the chat box and press enter.
ThePython10110 added the
bug
unconfirmed
labels 2023-06-15 00:57:53 +02:00
chmodsayshello added
needs engine change
annoying
multiplayer
player
and removed
unconfirmed
labels 2023-06-18 12:52:15 +02:00

Not so sure about needs engine change.

Not so sure about needs engine change.
Author
Contributor

Yeah, definitely does not need an engine change.

Yeah, definitely does not need an engine change.
Contributor

There's field_close_on_enter, which works with field and pwdfield.

There's [field_close_on_enter](https://minetest.gitlab.io/minetest/formspec/#field_close_on_enternameclose_on_enter), which works with `field` and `pwdfield`.
Sign in to join this conversation.
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: VoxeLibre/VoxeLibre#3798
No description provided.