1
1
mirror of https://github.com/walles/moar.git synced 2024-09-19 07:58:00 +03:00
Commit Graph

1053 Commits

Author SHA1 Message Date
Johan Walles
1c58d83bd3 Make some more tests pass 2024-01-07 23:17:34 +01:00
Johan Walles
d2b3fad36b Parameterize another test
For great results presentations.
2024-01-07 22:48:14 +01:00
Johan Walles
f81ba2b216 Make another test pass 2024-01-07 22:44:32 +01:00
Johan Walles
ac6793f7a9 Make one test pass 2024-01-07 15:21:00 +01:00
Johan Walles
29e277ef06 Make a test pass 2024-01-07 09:11:09 +01:00
Johan Walles
41c77cd147 Make everything compile 2024-01-07 09:09:06 +01:00
Johan Walles
f82f63151b Make another test compile 2024-01-07 09:08:11 +01:00
Johan Walles
cab9f9d3b2 Make some more tests compile 2024-01-07 08:56:02 +01:00
Johan Walles
044039739b Make moar.go compile 2024-01-07 08:49:44 +01:00
Johan Walles
8a6c06ec9f Make the last non-test file compile again 2024-01-07 08:40:19 +01:00
Johan Walles
5d4201b151 Make pager.go compile again 2024-01-07 08:38:52 +01:00
Johan Walles
05f8c2674b Make pager.go compile again 2024-01-07 08:26:13 +01:00
Johan Walles
2c1dd09bbe Fix some compile errors 2024-01-06 18:55:07 +01:00
Johan Walles
7acf6834a5 Make screenLines.go compile again 2024-01-06 18:51:22 +01:00
Johan Walles
7d80675075 Make the textstyles package compile again 2024-01-06 18:43:15 +01:00
Johan Walles
71ee7db815 Make line.go compile again 2024-01-06 16:40:13 +01:00
Johan Walles
00ad3f4699 Make gotoLine.go compile again 2024-01-06 16:36:08 +01:00
Johan Walles
f5302738f6 Make search.go compile again 2024-01-06 16:34:20 +01:00
Johan Walles
6f92718ab2 Make scrollPosition.go compile again 2024-01-06 16:30:03 +01:00
Johan Walles
2388327f69 Start working on scrollPosition.go 2024-01-06 14:47:50 +01:00
Johan Walles
a92121e2ec Make reader.go compile 2024-01-06 14:34:16 +01:00
Johan Walles
bc866a1971 Fix package name 2024-01-06 14:10:26 +01:00
Johan Walles
a4d68435cb Add a line numbers package 2024-01-06 14:08:32 +01:00
Johan Walles
55e2daf07f Move textstyles into the (mostly) not-public part
I don't foresee this ever being published for anybody else to use.
2024-01-05 09:12:17 +01:00
Johan Walles
dc0243f9e3 Handle some warnings 2024-01-05 07:02:58 +01:00
Johan Walles
54c88d3858 Merge branch 'johan/textstyles'
This moves text styling code into its own package.
2024-01-05 06:53:27 +01:00
Johan Walles
c70228207e Make the binary compile 2024-01-05 06:45:03 +01:00
Johan Walles
4dde8fe115 Make two more files build again 2024-01-05 06:43:37 +01:00
Johan Walles
cbb5d95b5e Make styling.go compile 2024-01-05 06:42:03 +01:00
Johan Walles
0cac41d753 Make pager.go compile 2024-01-05 06:40:11 +01:00
Johan Walles
bce5031cd0 Make line.go compile 2024-01-05 06:33:43 +01:00
Johan Walles
f97a57cfaf Start extracting another package 2024-01-05 06:31:33 +01:00
Johan Walles
192838ab89
Merge pull request #181 from zmc/wezterm
Use the "select" mouse mode on WezTerm
2024-01-04 09:11:16 +01:00
Zack Cerza
06c13120d0 Use the "select" mouse mode on WezTerm 2024-01-03 10:40:49 -07:00
Johan Walles
ba9de4bfc6 Clean up the Reader type
This function is only used internally, no need to have it publicly
available.
2024-01-03 14:37:34 +01:00
Johan Walles
f98d0472fa Merge branch 'johan/color-streams'
Fixes #134.
2024-01-03 14:34:22 +01:00
Johan Walles
de5cd653fb Used to exit pager on < 1 screen of contents 2024-01-03 11:02:59 +01:00
Johan Walles
fdbbf4d1ca Text readers are done immediately, no need to wait 2024-01-03 11:01:14 +01:00
Johan Walles
8d1553179f Make the tests pass 2024-01-03 10:54:36 +01:00
Johan Walles
4167d6997f Highlight streams if we know the language 2024-01-03 10:41:53 +01:00
Johan Walles
83c1c7be38
Merge pull request #180 from walles/johan/force-format
Add a -lang option for setting the highlighting language
2024-01-02 16:18:22 +01:00
Johan Walles
d5fb484fb9 Add --lang to the man page 2024-01-02 16:14:19 +01:00
Johan Walles
cb07ce3d3a Tune --lang explanation 2024-01-02 15:43:33 +01:00
Johan Walles
cd2a8a9d09 Fix some error messages
After testing. The invalid value is already printed by the framework, no
need to include it in the error message.
2024-01-02 15:36:45 +01:00
Johan Walles
4264d277dc Make the tests pass 2024-01-02 15:32:08 +01:00
Johan Walles
a6d62191f8 Remedy a warning 2024-01-02 09:50:20 +01:00
Johan Walles
cfbbcb7980 Fix production code compile errors 2024-01-02 09:46:19 +01:00
Johan Walles
b7603ea026 Add a -lang option for input file language 2024-01-02 09:39:47 +01:00
Johan Walles
6c86039965 Move background highlighting into its own function 2024-01-01 18:11:17 +01:00
Johan Walles
855a6bf5cb Fix a test 2024-01-01 13:49:43 +01:00