-
Notifications
You must be signed in to change notification settings - Fork 3.8k
tui: added ctrl-z terminal suspension support #3983
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
Conversation
|
@kommander Would love to get your feedback! |
|
Thanks for looking into this! I think a provider is a bit much for this, it could be a command that can be bound with config keybinds? The command then can add the SIGCONT listener and remove it again on when resuming.
Let me see what I can do there. You can have a look it you like. Basically
Roughly. |
Will definitely try to convert to a command. Still figuring out the correct patterns here 👍🏻 I'll try to look at the zig code as well, but will get to it only next week :( |
772b621 to
eb855e1
Compare
dac9388 to
99d005d
Compare
|
Current state using latest opentui (0.1.41): Screen.Recording.2025-11-12.at.9.09.38.mov |
6857086 to
225d142
Compare
|
I have the suspend/resume improvements coming in the next opentui version. |
👑👑 |
|
@kommander looks good! I'll rebase and test my changes once opentui is updated on dev |
f1dc981 to
3e15a39
Compare
a0831ea to
df8bdf9
Compare
df8bdf9 to
0dd5039
Compare
|
@kommander PR is ready and works with latest opentui 🙌🏻 |
|
itll format when it's merged ignore failure |
I went with keeping the control in the cli instead of internally in opentui.
Still got artifacts on the terminal on suspend hence the draft status.
wanted to get feedback early since it’s my first contribution here :)
Fixes #3737