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

656 Commits

Author SHA1 Message Date
Johan Walles
e21005d498 Improve comments 2023-03-02 07:22:32 +01:00
Johan Walles
e17e6bdac2 Make command line error messages more visible
Before this change I felt they just disappeared in the clutter from the
help text.
2023-03-02 07:17:05 +01:00
Johan Walles
5432ff567a Fix speling error 2023-03-02 07:06:10 +01:00
Johan Walles
b4541db00f Handle the scroll-sideways hints 2023-03-02 07:03:39 +01:00
Johan Walles
65ba59d136 Fix unprintable parsing 2023-03-02 06:56:52 +01:00
Johan Walles
b4eb15a53f Fix statusbar style printing 2023-03-02 06:50:45 +01:00
Johan Walles
c127d47b69 Handle style option better 2023-03-01 21:38:49 +01:00
Johan Walles
285aff2afc Do our own help printing 2023-03-01 07:36:49 +01:00
Johan Walles
c730afce46 Nicer code but worse feedback on option parse failures 2023-03-01 07:25:01 +01:00
Johan Walles
35105e5c64 Bump Go version to get generics 2023-03-01 07:05:54 +01:00
Johan Walles
c99c2e127a
Merge pull request #125 from walles/dependabot/go_modules/golang.org/x/sys-0.1.0
Bump golang.org/x/sys from 0.0.0-20210511113859-b0526f3d8744 to 0.1.0
2023-02-28 19:32:07 +01:00
Johan Walles
cc6819efd0 Display Private Use Unicode characters
Before this change, we rendered those as highlighted question marks.

With this change in place, we just send them to the screen for
displaying.

The reason is that Font Awesome uses these for symbols, this one for
example: https://fontawesome.com/v4/icon/battery-empty

More reading: https://en.wikipedia.org/wiki/Private_Use_Areas
2023-02-28 19:28:37 +01:00
dependabot[bot]
64d780fea7
Bump golang.org/x/sys from 0.0.0-20210511113859-b0526f3d8744 to 0.1.0
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.0.0-20210511113859-b0526f3d8744 to 0.1.0.
- [Release notes](https://github.com/golang/sys/releases)
- [Commits](https://github.com/golang/sys/commits/v0.1.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-25 08:30:00 +00:00
Johan Walles
50e3ca43ae Add CI badges 2023-02-22 21:07:49 +01:00
Johan Walles
7e2d1a97f4 All the other arches are in lowercase 2023-02-22 19:58:29 +01:00
Johan Walles
1366ae1429 Add Arch Linux install instructions
Fixes #123

I went with Yay:
https://trends.google.com/trends/explore?date=all&q=arch%20paru,arch%20yay
2023-02-22 19:56:22 +01:00
Johan Walles
ce49d99a9a Add Linux/arm32 builds
Fixes #122

Or actually works around rather than fixes. The fix would be to have
moar packaged for Debian.
2023-02-22 19:48:31 +01:00
Johan Walles
742a6ac7e3 Allow 'q' to exit Go to Line
I keep pressing 'q' to do this but it never worked...
2023-02-19 03:15:04 +01:00
Johan Walles
128250dbfe Fix deprecated code use 2023-02-19 03:14:43 +01:00
Johan Walles
053e354623 Fix testing on any os/arch
Fixes #120
2023-01-22 11:36:43 +01:00
Johan Walles
49f876b01c Merge branch 'johan/fix-paste'
Fixes #73
2023-01-11 11:09:06 +01:00
Johan Walles
e8a948ae9a Additional corner case test 2023-01-11 11:08:38 +01:00
Johan Walles
05a2153c2c Fix handling incoming pastes 2023-01-11 11:06:38 +01:00
Johan Walles
3e8ba22a0d Test all existing functionality 2023-01-11 10:44:24 +01:00
Johan Walles
31d9bdc95f Add initial input consumtion test
The idea is that when this test grows up it's going to cover
https://github.com/walles/moar/issues/73.
2023-01-11 10:14:07 +01:00
Johan Walles
d95a57c637
Merge pull request #116 from thesamesam/readme-gentoo
README.md: add Gentoo
2023-01-04 07:08:39 +01:00
Sam James
10f5a661c2
README.md: add Gentoo
Signed-off-by: Sam James <sam@gentoo.org>
2023-01-04 05:27:53 +00:00
Johan Walles
144ae466b3 Simplify some code 2023-01-02 23:07:04 +01:00
Johan Walles
a7f203385f Merge branch 'johan/less-termcap-so'
Fixes #114.
2022-12-31 17:34:18 +01:00
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