aboutsummaryrefslogtreecommitdiffstats
path: root/pw.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix lagging redraw upon resume from background.Kaz Kylheku2022-05-061-1/+1
| | | | This was a regression in this morning's refactoring.
* Show display params with Ctrl-G; restore with -p option.Kaz Kylheku2022-05-061-4/+56
|
* Result messages persist until key hit.Kaz Kylheku2022-05-061-1/+3
|
* Clip vertical splits correctly when line numbers turned on.Kaz Kylheku2022-05-061-9/+20
|
* Left and right separator indistinguishable when alone.Kaz Kylheku2022-05-061-6/+6
| | | | | | | | | Finally, this is the "right" UI. If either ] or > is used by itself, it looks exactly the same. The middle pane created by ] simulates the left pane exactly. The end markers on the right edge of the middle pane are intelligently omitted, similarly to the right edge of the left pane. Very pleased.
* Draw left bars even when there is no left pane.Kaz Kylheku2022-05-061-2/+4
| | | | | | | | | | | If there is no left pane, but the middle pane is not showing the beginning of the line (vs2pos is not zero), we need to show the bars to indicate that that is not the start of the line. Otherwise the middle pane looks deceptively as if it were the left pane. In the (vs2pos == 0) case, it doesn't matter; the middle pane shows a prefix, and so is semantically similar to the left pane.
* Removal of dubious addch(line, 0) caused crash.Kaz Kylheku2022-05-061-0/+8
| | | | It was a hack to make sure an object is allocated for a null line.
* New { } commands to reposition middle pane origin.Kaz Kylheku2022-05-061-0/+12
|
* Limit scrolling to max line length, not arbitrary 10000.Kaz Kylheku2022-05-061-1/+1
|
* Remove dubious addch(line, 0) and compensating hack elsewhere.Kaz Kylheku2022-05-061-2/+1
|
* The [ ], < > commands take count.Kaz Kylheku2022-05-061-21/+21
|
* Nuke most unsigned int.Kaz Kylheku2022-05-061-23/+22
|
* Exchange [ ] and < > commands.Kaz Kylheku2022-05-061-4/+4
|
* Don't change middle pane origin and width when moving left split.Kaz Kylheku2022-05-061-8/+3
|
* Rewrite buggy middle pane logic.Kaz Kylheku2022-05-061-47/+24
|
* Fix pane display bugs.Kaz Kylheku2022-05-061-6/+39
|
* Adjust or hide panes on window resize.Kaz Kylheku2022-05-061-0/+7
|
* Toggle highlighting of marker chars.Kaz Kylheku2022-05-061-6/+35
|
* New feature: double vertical split.Kaz Kylheku2022-05-051-10/+99
|
* Refactoring post: split long lines.Kaz Kylheku2022-05-051-8/+18
|
* Refactoring: some vars moved into pwstate struct.Kaz Kylheku2022-05-051-196/+201
| | | | | | The variables that are being passed around are moved into an object, to reduce the number of parameters being passed around.
* Impose limit on maximum line length, controlled by option.Kaz Kylheku2022-05-031-5/+25
|
* 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
|