1
1
mirror of https://github.com/walles/moar.git synced 2024-09-11 12:15:43 +03:00
Commit Graph

777 Commits

Author SHA1 Message Date
Johan Walles
4d285bd56f Protect the tests 2022-12-31 17:30:03 +01:00
Johan Walles
369d013eb6 Document new LESS_TERMCAP support 2022-12-31 17:00:49 +01:00
Johan Walles
3b2980de8e Use standoutStyle in the screen footer 2022-12-31 16:54:10 +01:00
Johan Walles
78f418173e That pointer is expected to be nil 2022-12-31 16:50:35 +01:00
Johan Walles
4c5193bb44 Fix a function name 2022-12-31 16:41:57 +01:00
Johan Walles
2245d3e07f Factor out common functionality 2022-12-31 16:40:49 +01:00
Johan Walles
460071fe49 LESS_TERMCAP_so highlighting of search hits
Relates to #114.
2022-12-31 16:28:21 +01:00
Johan Walles
871ac3be53 Fix some easy warnings 2022-12-29 08:56:35 +01:00
Johan Walles
03696fd08d Put newest version numbers last
To help prevent mis-numbering new releases.
2022-12-29 08:55:31 +01:00
Johan Walles
9ec8d996e3 Merge branch 'johan/bump-dependencies' 2022-12-29 08:43:59 +01:00
Johan Walles
d71ce309d9 Bump test dependency 2022-12-29 08:33:18 +01:00
Johan Walles
2b77cf7605 Bump Chroma to add new styles
Relates to #112.
2022-12-29 08:28:27 +01:00
Johan Walles
d2c82b0b5e
Merge pull request #111 from walles/johan/moar-ci
Always build PRs on new pushes
2022-12-19 10:40:30 +01:00
Johan Walles
49748f0c91 Caching just made Windows slower
2m18s with a hot cache
1m11s without any cache at all

Ref:
* https://github.com/walles/moar/actions/runs/3730024138/jobs/6326593911
* https://github.com/walles/moar/actions/runs/3730108441/jobs/6326833806
2022-12-19 10:34:43 +01:00
Johan Walles
49b45af8df Cache was disabled by default 2022-12-19 10:26:01 +01:00
Johan Walles
0422568939 Seems it didn't
Ref:
* https://github.com/actions/setup-go/issues/49
* https://github.com/actions/setup-go/pull/89
2022-12-19 10:24:55 +01:00
Johan Walles
4c1e8c742e Try improving repeated-builds performance 2022-12-19 10:14:41 +01:00
Johan Walles
f8e226bbe9 This part is quite slow, add more tracking 2022-12-19 10:08:38 +01:00
Johan Walles
82ac5dd583 Add another progress message
This step sometimes takes some time.
2022-12-19 10:05:07 +01:00
Johan Walles
064fe61eaf Make sure golangci-lint can be found 2022-12-19 10:00:58 +01:00
Johan Walles
b9ddbb82d5 Source code first, then CI 2022-12-19 09:53:36 +01:00
Johan Walles
8f7f03f9dc Switch to GitHub Actions
Having to repeatedly re-affirm to Travis I'm still doing Open Source is
a nuisance.
2022-12-19 09:49:59 +01:00
Johan Walles
9f490d1f64
Merge pull request #109 from Vilianexe/master
Simple change in the screen lines to be better to understand
2022-12-19 09:34:11 +01:00
Johan Walles
c07471349e Always build PRs on new pushes 2022-12-19 09:27:00 +01:00
Johan Walles
b4c5d3f874
Keep /
The status line is really short on space, so I prefer using `/` rather than `or` since it's shorter.
2022-12-19 09:21:12 +01:00
Vinícius Machado Daros
b16aea6aa6 Changed Press 'q' or ESC to quit to be more symetric 2022-12-18 23:03:41 -03:00
Vinícius Machado Daros
26cdfc0eeb Simple change in the screen lines to be better to understand 2022-12-12 21:32:09 -03:00
Johan Walles
6a03688e09
Qualitfy "follows output" with a link
To the kind words in #108.
2022-11-30 08:35:03 +01:00
Johan Walles
b149b09905 Add --follow command line parameter
Ref: https://github.com/walles/moar/issues/108#issuecomment-1328724290
2022-11-28 19:09:17 +01:00
Johan Walles
143bac35a8 Drop ALT-< / ALT-> support
Those don't work in `less` either and they haven't been out in any
release.

Also, I don't get them raw, so it's hard for me to support properly.

Ref: https://github.com/walles/moar/issues/107#issuecomment-1328354080
2022-11-28 07:09:18 +01:00
Johan Walles
56419b0491 Add some more keybindings
Requested here:
https://github.com/walles/moar/issues/107#issuecomment-1328354080
2022-11-28 07:05:15 +01:00
Johan Walles
1b0a214bb3 Merge branch 'johan/follow'
Fixes #108
2022-11-26 22:29:44 +01:00
Johan Walles
bb1126bf7a Remove unclear comment
That I wrote!
2022-11-26 22:28:38 +01:00
Johan Walles
e06acc6243 Document following 2022-11-26 22:26:26 +01:00
Johan Walles
fed3bbfbb8 Follow after first down
Even if it didn't scroll down right now.
2022-11-26 22:23:40 +01:00
Johan Walles
54ec5d690f Make following work 2022-11-26 22:21:02 +01:00
Johan Walles
0c39d63aa0 Initial attempt 2022-11-26 21:58:24 +01:00
Johan Walles
76f8c39100 More generic profile name
This name will work for -cpuprofile profiles as well.
2022-11-04 22:19:22 +01:00
Johan Walles
62322e6cc0 README: Improve profiling section 2022-10-30 00:54:22 +02:00
Johan Walles
6a44c61809 Merge branch 'johan/faster-styledStringsFromString'
This about doubles search performance in highlighted text.
2022-10-30 00:46:03 +02:00
Johan Walles
183f984eb5 Handle plain text search performance regression 2022-10-30 00:42:28 +02:00
Johan Walles
e78f1efd71 Fix typo 2022-10-30 00:29:03 +02:00
Johan Walles
faf5e330e7 Do styledStringsFromString without regexps
The idea is that this should use fewer memory allocations, and thereby
improve our benchmark numbers.

I think this is mostly right, but one test fails though and that needs
to be looked into.
2022-10-30 00:29:03 +02:00
Johan Walles
b31cbd5de1 Print memory stats while benchmarking 2022-10-30 00:28:08 +02:00
Johan Walles
0260da08a5 30% faster search performance 2022-10-29 16:50:42 +02:00
Johan Walles
b7ad10fda6 Merge branch 'johan/clear-to-eol' 2022-10-28 21:29:54 +02:00
Johan Walles
b43f52be7b Self review fixes 2022-10-28 21:23:31 +02:00
Johan Walles
d359c1e05e Make the tests pass 2022-10-28 21:18:47 +02:00
Johan Walles
09e7a2178e Remember to set the trailer color 2022-10-28 06:59:45 +02:00
Johan Walles
a30a31bb2b Try supporting Clear-to-EOL
This should be about right, but the tests are still failing.
2022-10-27 16:51:17 +02:00