Modernize deadman with signal handling, visual improvements, and fast startup#28
Open
matsubo wants to merge 1 commit intoupa:masterfrom
Open
Modernize deadman with signal handling, visual improvements, and fast startup#28matsubo wants to merge 1 commit intoupa:masterfrom
matsubo wants to merge 1 commit intoupa:masterfrom
Conversation
…d fast startup **Signal Handling & Quit Functionality:** - Add SIGINT/SIGTERM handlers for graceful shutdown - Implement 'q' key to quit application - Add QUIT_FLAG checked in main loops **Visual Modernization:** - Unicode symbols (▶ ✓ ✗ ⏱ ⚠) replace ASCII - 6 new color schemes for RTT-based coloring - Gradient colored bar graphs (green→yellow→red) - Status indicators and colored headers **Performance (Fast Startup):** - Lazy DNS lookup with timeout (1-3s → <100ms startup) - platform.system() instead of subprocess - IP version caching with inet_pton() fast path - UI displays immediately before target loading **Documentation:** - Add comprehensive CLAUDE.md Startup time: 1-3 seconds → <100ms. UI appears instantly. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR modernizes deadman with three major improvements:
🎯 Signal Handling & Quit Functionality
Impact: Users can now exit gracefully with 'q' or Ctrl+C instead of killing the process.
🎨 Visual Modernization
Impact: Much easier to see at a glance which hosts are fast/slow/down.
⚡ Performance Optimizations (Fast Startup)
platform.system()instead of subprocessinet_pton()fast path for raw IPsImpact: Startup time reduced from 1-3 seconds to <100ms. UI appears instantly even with slow DNS.
📚 Documentation
CLAUDE.mdwith full architecture documentationTest Plan
Screenshots
The new UI features:
🤖 Generated with Claude Code