aboutsummaryrefslogtreecommitdiffstats
path: root/pw.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Don't retrace if there are no lines to draw.Kaz Kylheku2022-05-031-1/+1
| | | | | | In this case, things go funny because the ANSI escape sequence ^[[0A will still go up one line, in spite of the zero.
* Line number cosmetic issue.Kaz Kylheku2022-05-031-2/+2
| | | | | | When the FIFO isn't full, we output lines. In numbered mode, line numbers aren't printed, so things look funny. Let's print zeros. These will refresh to the actual values.
* Implement quit count safeguard.Kaz Kylheku2022-05-031-2/+21
|
* Bugfix: stat_force not stat_dirty to display cmd result.Kaz Kylheku2022-05-031-1/+1
|
* New -g option to pre-load the grep stack.Kaz Kylheku2022-05-031-1/+31
|
* Ctrl-L refresh.Kaz Kylheku2022-05-031-0/+2
|
* Keep taking snapshots in background.Kaz Kylheku2022-05-031-3/+3
|
* Relax restrictions on stdout; improve error reporting.Kaz Kylheku2022-05-021-23/+23
|
* Remove non-interactive mode.Kaz Kylheku2022-05-021-35/+28
|
* On EOF, don't call redraw, but only drawstatus.Kaz Kylheku2022-05-021-2/+3
| | | | | EOF is not an event which triggers an update. We want to show EOF in the status line, if not auto-exiting.
* Ensure clrline calls observe background mode.Kaz Kylheku2022-05-021-9/+10
|
* Don't touch tty if exiting while backgrounded.Kaz Kylheku2022-05-021-3/+8
|
* New feature: read input if executing in background.Kaz Kylheku2022-05-021-23/+57
|
* Add forgotten copyright block to C source.Kaz Kylheku2022-05-021-0/+27
|
* Fix null pointer deref in freebuf.Kaz Kylheku2022-05-011-2/+3
|
* A bit more encapsulation for the regex handling.Kaz Kylheku2022-05-011-41/+58
|
* triggers: use dsref on dstr, not dsdup.Kaz Kylheku2022-05-011-1/+1
|
* Refactor: move regexec calls into function.Kaz Kylheku2022-05-011-17/+14
|
* New # command to toggle line numbers.Kaz Kylheku2022-05-011-10/+35
|
* Allow leading ! to invert trigger patterns.Kaz Kylheku2022-05-011-9/+25
|
* New feature: snapshot history.Kaz Kylheku2022-05-011-39/+83
|
* Fix memory leak when resizing line buffer down.Kaz Kylheku2022-05-011-0/+3
| | | | Could happen when terminal window shrinks vertically.
* Don't copy to snapshot when dirty flag is absent.Kaz Kylheku2022-05-011-1/+1
|
* New a, d commands to advance or delay triggers.Kaz Kylheku2022-04-301-0/+28
|
* Triggers: switch implementation to grep structs.Kaz Kylheku2022-04-301-20/+32
|
* Fix issues with the count prefix.Kaz Kylheku2022-04-301-5/+10
| | | | | - ambiguity with 0 command. - reset to UINT_MAX under right conditions.
* New feature: multi-line triggering.Kaz Kylheku2022-04-301-30/+85
|
* Commands can have numeric prefix: + is guinea pig for this.Kaz Kylheku2022-04-301-7/+24
|
* Regression: no redraw for horizontal scrolling.Kaz Kylheku2022-04-301-1/+1
|
* Use BRE by default, with optional ERE.Kaz Kylheku2022-04-291-3/+16
|
* Eliminate wasteful redraws of snapshot.Kaz Kylheku2022-04-291-24/+22
| | | | | | When we do need to redraw the snapshot even though the data isn't dirty, or we are frozen, or waiting for a trigger, there is a new stat_force flag to request it.
* Status line reliably gone on 'q' exit.Kaz Kylheku2022-04-291-3/+1
|
* Dynamic priority scheme between TTY and FIFO.Kaz Kylheku2022-04-291-2/+8
| | | | | | | | | Whenever a character from the TTY are processed, the work bout size (max number of lines processed without polling TTY or time-of-day) is cut in half, so as the user types, the UI quickly becomes more responsive. When TTY activity ceases, the work bout successively grows in size again toward the maximum value to favor more efficient reading.
* grep mode bug: :g entries getting treated as :v.Kaz Kylheku2022-04-291-0/+2
|
* Handle terminal resizing.Kaz Kylheku2022-04-291-7/+57
|
* Fix shifting position and double showing of < truncation marker.Kaz Kylheku2022-04-291-2/+3
|
* Use clear-to-end-of-line for flicker-free updates.Kaz Kylheku2022-04-291-9/+19
|
* Bugfix: while editing new trigger, don't reset current.Kaz Kylheku2022-04-291-7/+9
|
* New :i and :l commands to adjust intervals.Kaz Kylheku2022-04-291-0/+15
|
* Command line: improve robustness of conversions.Kaz Kylheku2022-04-291-6/+100
|
* Missing newline in error call.Kaz Kylheku2022-04-291-1/+1
|
* Global vars static.Kaz Kylheku2022-04-291-10/+10
|
* New + command to increase display height.Kaz Kylheku2022-04-281-0/+10
|
* Implement Ctrl-Z suspend.Kaz Kylheku2022-04-281-6/+27
|
* History recall for colon commands and trigger patterns.Kaz Kylheku2022-04-281-8/+83
|
* Merge kbd_ttrig and kbd_htrig; simplify status refresh.Kaz Kylheku2022-04-281-16/+7
|
* Use constants and macros for control chars.Kaz Kylheku2022-04-281-8/+14
|
* grep: show patterns in status rather than stack depth.Kaz Kylheku2022-04-281-15/+33
|
* New feature: grep mode with pattern stack.Kaz Kylheku2022-04-281-24/+97
|
* Diagnose missing argument in :w, :a and :!.Kaz Kylheku2022-04-281-2/+8
|