gum/pager
Carlos Alexandro Becker d1fc05155c
fix(pager): memory/cpu usage when using soft-wrap (#827)
easily reproducible, especially with something like

```sh
PAGER="gum pager" man ls
```

Problems here were:
- reflow's truncate is not very efficient
- useless calls to truncate
- bad strings.Replace calls (not necessary, and wouldn't work if text has ansi sequences)
2025-01-28 11:50:36 -03:00
..
command.go fix(pager): use help bubble (#748) 2024-12-09 15:05:12 -03:00
options.go feat(pager): make --soft-wrap the default 2024-12-09 22:16:58 -03:00
pager.go fix(pager): memory/cpu usage when using soft-wrap (#827) 2025-01-28 11:50:36 -03:00
search.go fix(pager): memory/cpu usage when using soft-wrap (#827) 2025-01-28 11:50:36 -03:00