live

command
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 14, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL