Stefan Haller
1f2cb35cc9
Refactor: move wrapMessageToWidth to utils/lines.go
...
to make it more generally usable by clients other than ConfirmationHelper, which
we will do later in this branch. Rename it to WrapViewLinesToWidth while we're
at it.
Add tests; in particular, add a sanity check that we wrap lines the same way as
gocui does. The tests that are added here are the same ones as in gocui for its
lineWrap function, but we'll extend them a bit in later commits in this branch.
2024-12-23 12:24:09 +01:00
..
2024-12-23 12:24:09 +01:00
2023-04-30 13:19:52 +10:00
2024-09-06 08:45:48 +02:00
2024-09-06 08:45:48 +02:00
2024-09-06 08:45:48 +02:00
2024-12-01 10:59:54 +01:00
2024-09-06 08:45:48 +02:00
2024-09-06 08:45:48 +02:00
2024-09-06 08:45:48 +02:00
2024-10-13 16:55:54 +02:00
2023-04-30 13:19:53 +10:00
2024-09-06 08:45:48 +02:00
2024-11-19 08:21:19 +11:00
2024-09-06 08:45:48 +02:00
2024-09-06 08:45:48 +02:00
2024-11-12 16:54:24 +11:00
2023-07-03 12:54:13 +10:00
2024-09-06 08:45:48 +02:00
2024-09-06 08:45:48 +02:00
2024-08-17 10:56:03 +02:00
2024-11-09 17:19:14 +11:00
2024-04-18 10:10:30 +02:00
2024-09-06 08:45:48 +02:00
2024-03-09 07:55:22 +01:00
2024-12-23 12:12:45 +01:00
2024-09-06 08:45:48 +02:00
2024-09-06 08:45:48 +02:00
2024-08-17 11:14:51 +02:00
2024-12-23 12:24:09 +01:00
2024-10-18 22:46:48 +02:00
2024-10-13 16:55:54 +02:00
2024-09-06 08:45:48 +02:00
2024-12-01 10:59:54 +01:00
2024-10-13 16:55:54 +02:00
2024-09-06 08:45:48 +02:00
2024-09-06 08:45:48 +02:00
2023-08-21 08:10:28 +02:00
2024-04-07 23:24:10 +08:00
2023-07-03 12:54:13 +10:00
2024-01-19 10:50:49 +11:00
2024-09-06 08:45:48 +02:00
2024-09-06 08:45:48 +02:00
2024-09-06 08:45:48 +02:00
2024-10-18 22:46:47 +02:00
2024-09-15 11:59:59 +02:00
2024-09-28 12:04:51 +02:00
2024-09-06 08:45:48 +02:00
2024-09-06 08:45:48 +02:00
2024-09-06 08:45:48 +02:00
2024-09-06 08:45:48 +02:00
2024-01-23 13:03:37 +11:00
2024-09-06 08:45:48 +02:00
2024-09-06 08:45:48 +02:00
2024-09-06 08:45:48 +02:00
2024-09-06 08:45:48 +02:00
2024-08-18 10:24:52 +02:00
2024-12-01 10:40:08 +01:00
2024-01-23 13:03:37 +11:00
2024-09-06 08:45:48 +02:00