Commits


amused-monitor: no need to list all the events `amused monitor' defaults to report all the events, that should be enough.


amused-monitor: add a round function and simplify some bits


amused-monitor: drop unused `min' function


amused-monitor: rewrite excerpt function instead of passing "half" of the context wanted, just take the number of lines wanted. switch to a circular buffer to store the lines instead of shelling out (badly) to grep -C.


handle when the duration is zero


fix some leftovers better to use a control variable rather than `last' from a subroutine


add amused-monitor: an ncurses tui written in perl