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

667 Commits

Author SHA1 Message Date
Johan Walles
077e5db9f3 Add terminal hyperlinks example 2023-05-01 15:11:22 +02:00
Johan Walles
9ee1d18ab5 Add another test
Turns out the thing I worried about wasn't moar's fault, but this test
is still valid so let's keep it.

Ref: https://gitlab.com/gnachman/iterm2/issues/10862
2023-03-23 22:42:40 +01:00
Johan Walles
eafb70d790 Configurable side scroll amount
Using the new --shift command line flag.

Fixes #130.
2023-03-19 11:57:40 +01:00
Johan Walles
a5bd7037e3 Single character shift when moving right / left
By holding ALT while pressing the right / left arrow keys.

Relates to #130.
2023-03-19 11:25:52 +01:00
Johan Walles
7bd5d3e099 Handle some unused parameters issues 2023-03-03 16:56:09 +01:00
Johan Walles
bc5260c95b
Merge pull request #129 from walles/johan/fix-windows-ci
Follow docs on how to build Go on CI
2023-03-03 08:38:45 +01:00
Johan Walles
6b93118c57 Maybe this one is better for Go 1.20? 2023-03-03 08:28:24 +01:00
Johan Walles
ddc5175325 Improve symmetry with the Linux workflow 2023-03-03 08:25:50 +01:00
Johan Walles
97851b2516 Follow docs on how to build Go on CI
https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
2023-03-03 08:20:41 +01:00
Johan Walles
367c44d734 Make clicking CI badges take you to a good place 2023-03-03 08:13:04 +01:00
Johan Walles
fcc10582c9 Merge branch 'johan/better-flags'
This change simplifies command line flags handling and error reporting
by using flagSet.Func() for custom flags parsing.
2023-03-02 07:24:03 +01:00
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