Skip to content

SIGTERM & SIGWINCH - #23

Merged
tmck-code merged 11 commits into
mainfrom
pbar-sigwinch
Feb 18, 2026
Merged

SIGTERM & SIGWINCH#23
tmck-code merged 11 commits into
mainfrom
pbar-sigwinch

Conversation

@tmck-code

Copy link
Copy Markdown
Owner

Context

This adds some fancier features to pbar - reacting to

  • SIGTERM (control+c)
  • SIGWINCH (terminal resize)

Changes

  • Use the signal standard library to monitor for SIGTERM and SIGWINCH
  • On SIGTERM, call reset terminal and exit with status 0
  • on SIGWINCH, call handle resize and redraw the info & progress bar

@tmck-code
tmck-code merged commit 67f35cd into main Feb 18, 2026
1 check passed
@tmck-code
tmck-code deleted the pbar-sigwinch branch February 18, 2026 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant