maralorn / nix-output-monitor

Pipe your nix-build output through the nix-output-monitor a.k.a nom to get additional information while building.
GNU Affero General Public License v3.0
835 stars 24 forks source link

Optional buffered mode #145

Open Atemu opened 1 month ago

Atemu commented 1 month ago

nom currently passes through all build output to the terminal which can cause flickering and slowdowns (https://github.com/maralorn/nix-output-monitor/issues/24, https://github.com/maralorn/nix-output-monitor/issues/95). In such cases, it'd be useful to have an optional buffered mode which discards parts of the log output and only updates the output at a fixed maximum rate.

This should probably be off by default as it'd miss some output when lots of things are happening in the output.

Bonus points if this buffered mode could be toggled at runtime via keyboard input.

maralorn commented 1 month ago

Need to figure out how exactly to do this, but I had something like this in mind anyway.