mirror of
https://github.com/asciinema/asciinema.git
synced 2026-04-26 00:15:56 +03:00
[PR #601] [MERGED] Replace mio with select in the recorder, add signal handling #532
Labels
No labels
bug
compatibility
feature request
fit for beginners
help wanted
hosting
idea
improvement
packaging
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/asciinema#532
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/asciinema/asciinema/pull/601
Author: @ku1ik
Created: 1/6/2024
Status: ✅ Merged
Merged: 1/8/2024
Merged by: @ku1ik
Base:
develop← Head:rec-pselect📝 Commits (6)
a29aa76Replace mio with pselect in the recorder6441eebFix infinite loop during recording on macOSaaad9ecFix another infinite loop casecad9b2eRemove mio3ac8888Implement signal handling during recording session2a17050Use aliased Result📊 Changes
4 files changed (+171 additions, -166 deletions)
View changed files
📝
Cargo.lock(+0 -14)📝
Cargo.toml(+1 -3)📝
src/pty.rs(+158 -136)📝
src/tty.rs(+12 -13)📄 Description
This fixes recording on macOS, where mio can't poll /dev/tty via kqueue.
Fixes #598
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.