Johan Walles
|
21afb4f2ef
|
Don't track the formatter
They are only needed at startup, so let's not keep them around while
paging.
|
2023-12-17 16:09:29 +01:00 |
|
Johan Walles
|
921313d15f
|
Stop crashing with status bar visible
We're still crashing with status bar invisible.
|
2023-12-02 11:21:38 +01:00 |
|
Johan Walles
|
a25c9d6477
|
Don't crash on single line terminal windows
Corner case much?
|
2023-09-14 20:23:18 +02:00 |
|
Johan Walles
|
b19d8549a0
|
Fix compile errors
|
2023-05-18 09:28:03 +02:00 |
|
Johan Walles
|
ea94ad40fa
|
Enable checking whether a reader is done
|
2023-05-14 19:42:18 +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
|
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
|
1e192779f7
|
Add scroll hint options
Broken, unsure why. Tried it without any options and got error messages.
|
2022-08-07 17:43:29 +02:00 |
|
Johan Walles
|
2697cee997
|
Make tests pass
|
2022-08-07 15:26:14 +02:00 |
|
Johan Walles
|
3c1d310311
|
Fix tests crashing due to screen being nil
|
2022-03-06 16:23:00 +01:00 |
|
Johan Walles
|
44f03aadf9
|
Add recursion guard to canonicalize()
|
2022-03-06 16:23:00 +01:00 |
|
Johan Walles
|
e309e0c4f7
|
Fix the last compile error
|
2022-03-06 16:23:00 +01:00 |
|
Johan Walles
|
3371281068
|
Fix some more test compile errors
|
2022-03-06 16:23:00 +01:00 |
|
Johan Walles
|
fb9f8efbe6
|
Extract number prefix length into its own method
|
2022-02-19 09:17:23 +01:00 |
|
Johan Walles
|
94c3623701
|
Proper go function names
Private function names should start with lowercase letters.
|
2022-02-19 08:49:10 +01:00 |
|
Johan Walles
|
bd761c1c69
|
Add a wrapping test
|
2022-02-18 22:37:32 +01:00 |
|
Johan Walles
|
7ef67aac29
|
Fix two more failing tests
|
2022-02-18 19:27:10 +01:00 |
|
Johan Walles
|
c7a286db5d
|
Fix some test failures
|
2022-02-18 19:27:10 +01:00 |
|
Johan Walles
|
caa1654278
|
Fix compile errors in tests
|
2022-02-18 19:27:10 +01:00 |
|
Johan Walles
|
fec9ad8149
|
Fix crash on paging down
Fixes #65.
|
2021-06-04 13:20:28 +02:00 |
|
Johan Walles
|
47036defd4
|
Fix crash reading empty input
|
2021-05-31 19:00:11 +02:00 |
|
Johan Walles
|
891b2ccd4f
|
Add more cropping tests
|
2021-05-30 10:07:10 +02:00 |
|
Johan Walles
|
f84ae1df18
|
Move some tests into screenLines_test.go
Fix one crash, but I can provoke more so there are still more tests to
write.
|
2021-05-30 09:45:14 +02:00 |
|