command
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Jun 14, 2026
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
example/live — live output from continuously running commands
Demonstrates:
- Polling GetBuffer in a loop to capture incremental output
- Using ScreenContentsOnly for predictable line counts
- Dedup via map to avoid re-printing on buffer shifts
Usage: go run ./example/live
Source Files
¶
Click to show internal directories.
Click to hide internal directories.