1
1
mirror of https://github.com/walles/moar.git synced 2024-08-16 23:40:35 +03:00
Commit Graph

617 Commits

Author SHA1 Message Date
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
Johan Walles
5936fb07ee Initial tests for clear-to-eol support 2022-10-25 21:24:04 +02:00
Johan Walles
e323fb98f6 Merge branch 'johan/fix-105'
Fixes #105
2022-10-13 19:46:26 +02:00
Johan Walles
8682d2509b Fix the crash
We don't need to render anything and get this precisely right, it just
has to be at least enough.
2022-10-13 19:43:18 +02:00
Johan Walles
fa1f38c687 Repro the crash in a test case 2022-10-13 19:38:28 +02:00
Johan Walles
c619e6c248 Merge branch 'johan/fix-line-highlight' 2022-09-25 21:08:31 +02:00
Johan Walles
3401d95140 Fix toRunePositions()
So it has no corner cases any more.
2022-09-25 21:07:27 +02:00
Johan Walles
d32eb6af27 Remove dead variable 2022-09-25 19:21:05 +02:00
Johan Walles
b0bfc0cb58 Add test for a just-found highlighting bug 2022-09-25 19:20:36 +02:00
Johan Walles
3e9d6d2a44 Bump testing library to latest version 2022-09-25 09:06:46 +02:00
Johan Walles
45adcc4a3c Correct homebrew release instructions 2022-09-25 08:40:40 +02:00