1
1
mirror of https://github.com/walles/moar.git synced 2024-09-11 20:17:13 +03:00
Commit Graph

33 Commits

Author SHA1 Message Date
Johan Walles
4867b2c2ed Implement jumping to marks 2024-01-09 15:26:16 +01:00
Johan Walles
f186b736da Add zstd compression support
I like zstd.
2024-01-08 21:25:15 +01:00
Johan Walles
a579da4ccc Revive xz support 2024-01-08 14:07:30 +01:00
Johan Walles
b103f0c10b Drop redundant dependency
Chroma already provides enough color handling for our needs.
2023-12-20 18:28:07 +01:00
Johan Walles
d511e50652 Downsample colors to terminal palette
As neeed.

This enables you to view 24 bit color documents in a 256 color terminal.
With reduced quality obviously, but still.
2023-12-19 08:47:40 +01:00
Johan Walles
5c73f124f9 Bump Chroma and remove a workaround 2023-12-17 08:29:06 +01:00
Johan Walles
c4e94374ac Fix the catppuccin style colors
Ref:
https://github.com/walles/moar/issues/159#issuecomment-1763058160
2023-10-14 22:38:42 +02:00
Johan Walles
35105e5c64 Bump Go version to get generics 2023-03-01 07:05:54 +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
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
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
3e9d6d2a44 Bump testing library to latest version 2022-09-25 09:06:46 +02:00
Johan Walles
8c68a5cd68 We already had a testing library 2022-09-24 08:24:26 +02:00
Johan Walles
38ed948da3 Simplify test expectations 2022-09-22 20:53:59 +02:00
Johan Walles
871cf523c0 Bump Chroma to 0.9.4
Removes some indirect dependencies, fixes #74.
2021-10-17 08:57:13 +02:00
Steven Penny
8fd5229840 Update go.mod
New Chroma version and remove "xerrors"
2021-05-12 11:20:45 -05:00
Johan Walles
19a5fe51c8 Try with Go 1.16 instead 2021-04-22 19:17:58 +02:00
Johan Walles
0a6db4974b Experiment with go mod tidy and go install
Try to work out #48.
2021-04-22 19:13:12 +02:00
Johan Walles
ee3659e7f0 Fix master CI problem
https://travis-ci.com/github/walles/moar/jobs/500067810
2021-04-21 08:27:14 +02:00
Johan Walles
730ed46f4f Fix errcheck reported problems 2021-04-20 08:43:37 +02:00
Johan Walles
c93270e8fc Run errcheck from test.sh 2021-04-20 06:59:49 +02:00
Johan Walles
c3936b44f4 Run staticcheck from test.sh 2021-04-20 06:46:14 +02:00
Johan Walles
9b86fc5736 Windows: Color output, character input
Arrow keys don't work.
2021-04-17 22:29:45 +02:00
Johan Walles
90e374601d Use our new tcell replacement 2021-04-17 22:29:41 +02:00
Johan Walles
54935615ed Switch highlighting engine to Chroma
Which is linked into here, so no need for users to install any external
tools.

Chroma home page: https://github.com/alecthomas/chroma
2021-01-09 17:18:10 +01:00
Johan Walles
2583747590 Bump tcell to v2
Should fix 21.
2020-12-06 14:47:10 +01:00
Johan Walles
8a3056685c Upgrade tcell to a version supporting italics 2020-04-13 16:39:48 +02:00
Johan Walles
ad767671eb Condition some log messages on --debug flag
With this change, to get some log messages (about unsupported keys
mostly), you have to pass --debug on the command line.

Fixes #20
2019-12-06 19:36:31 +01:00
Johan Walles
70500056af Show file name and line numbers 2019-06-21 23:24:53 +02:00
Johan Walles
6f13bde11e Show blank screen and wait for user input 2019-06-11 18:29:30 +02:00
Johan Walles
0029c2de0f Pass one integration test 2019-06-09 19:34:52 +02:00
Johan Walles
61752e8d30 Initial Go setup 2019-06-09 07:47:55 +02:00