Make ^C work in the DRM backend #5105
matthijskooijman
started this conversation in
Ideas
Replies: 1 comment
-
@matthijskooijman That code was writen long ago, sincerely, I don't remember at the moment why it was there. If you tested the DRM backend with that change and couldn't find any issue, feel free to send a PR with the update... Maybe it was there to support Copy-Paste functionality on user applications? I don't remember... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When running the DRM platform, currently the process cannot be terminated using control-C, which is not very convenient for development.
I see this might be intentional, given the comment above the relevant code:
raylib/src/platforms/rcore_drm.c
Lines 1431 to 1433 in 852c513
(I tried this, removing
ISIG
from that line makes ^C work)Is there any reason for this
ISIG
to be there? Thetcsetattr(3)
manual says:Seems like this would not be problematic for a typical application?
Beta Was this translation helpful? Give feedback.
All reactions