Jakub Sobon
4cefd0b77f
Travis now checks for missing licences in files.
2018-07-01 16:15:52 -04:00
Jakub Sobon
11c9dbab24
Adding a higher resolution canvas.
...
This canvas uses the braille pattern characters.
2018-07-01 00:12:28 -04:00
Jakub Sobon
30068668d0
The copied-to canvas is always zero-based.
...
At least from the point of view of the widget.
2018-06-30 22:07:39 -04:00
Jakub Sobon
750d7159e3
Ability to copy a canvas.
...
Allows one canvas to be copied onto another, potentially with an offset.
2018-06-30 21:39:02 -04:00
Jakub Sobon
9f7a598f1a
Fixing documentation.
2018-06-27 22:36:27 -04:00
Jakub Sobon
c89ed6042b
Self review.
2018-06-25 00:07:33 -04:00
Jakub Sobon
3bfc5b554c
Merge branch 'devel' into draw-line
2018-06-24 23:53:22 -04:00
Jakub Sobon
38c288b077
Merge branch 'devel' into sparkline
2018-06-24 23:53:09 -04:00
Jakub Sobon
8e43506e75
Merge pull request #41 from mum4k/barchart
...
Implementing a BarChart widget.
2018-06-25 04:52:45 +01:00
Jakub Sobon
5d5c7c1e38
Adding missing licences.
2018-06-24 23:51:26 -04:00
Jakub Sobon
df60341164
Implementing code that draws line crossings.
2018-06-24 23:50:52 -04:00
Jakub Sobon
1bc6a7ccd4
Skeleton for function that draws lines.
...
- tests.
- testdraw wrapper.
- basic functionality that just draws lines, not crossings yet.
2018-06-24 21:49:30 -04:00
Jakub Sobon
eb0d305f91
Merge branch 'devel' into sparkline
2018-06-23 20:55:27 -04:00
Jakub Sobon
8a8b91d8bd
Merge branch 'devel' into barchart
2018-06-23 20:55:12 -04:00
Jakub Sobon
31f3862524
Removing two races in termdash_test.
...
- run the after() func after the event queue is emptied.
- close termdash before comparing the content of the fake terminal,
the background redraw() function could still race with the faketerm.Diff
function which isn't thread safe.
2018-06-23 20:52:32 -04:00
Jakub Sobon
dd57b316b0
Fix incorrect color in the SparkLine demo.
2018-06-22 20:48:50 -04:00
Jakub Sobon
35f2672cae
Merge branch 'devel' into sparkline
2018-06-22 16:37:00 -04:00
Jakub Sobon
b281b0506f
Merge branch 'devel' into barchart
2018-06-22 16:36:41 -04:00
Jakub Sobon
1ee2c7bae2
Merge pull request #40 from mum4k/triggered_redraw
...
Support for manually triggered redraw of terminal.
2018-06-22 16:35:24 -04:00
Jakub Sobon
4da5097d66
Fixing the SparkLine demo.
2018-06-22 16:33:05 -04:00
Jakub Sobon
f4d2edc3f9
Adding licenses.
2018-06-22 16:30:50 -04:00
Jakub Sobon
9d02f43c6f
Self-review.
2018-06-22 16:27:23 -04:00
Jakub Sobon
a9813c4c76
Implementation of the SparkLine widget.
...
And completing the demo.
2018-06-22 09:40:41 -04:00
Jakub Sobon
2ce014d35a
Fix for compatibility with Go 1.8.
...
Local implementation of math.Round.
2018-06-21 22:19:17 -04:00
Jakub Sobon
d430638eb0
More test cases for the SparkLine widget.
2018-06-21 22:12:13 -04:00
Jakub Sobon
630151301f
Code that determines which sparks runes to use.
2018-06-21 22:11:57 -04:00
Jakub Sobon
40bee03bc2
Fixing incorrect func name in test output.
2018-06-21 17:05:05 -04:00
Jakub Sobon
27f6d76dc6
Skeleton of the SparkLine widget, tests and demo.
2018-06-21 17:04:19 -04:00
Jakub Sobon
6a320ac68c
Adding colors to the demo.
2018-06-19 23:12:28 -04:00
Jakub Sobon
a0f55ccf01
Improving the demo.
2018-06-19 23:02:15 -04:00
Jakub Sobon
c2782a8f56
Improving test coverage.
2018-06-19 22:33:06 -04:00
Jakub Sobon
42fd5f8ccb
Improving test coverage.
2018-06-19 22:17:53 -04:00
Jakub Sobon
542948c6cf
Fixes after self-review.
2018-06-19 22:04:20 -04:00
Jakub Sobon
4785160c13
Adding some missing licences.
2018-06-19 21:54:27 -04:00
Jakub Sobon
1f41c7afee
First empty the queue, then redraw.
2018-06-19 21:46:03 -04:00
Jakub Sobon
77a9b30133
Implementation of the BarChart widget and its demo.
2018-06-20 02:37:06 +01:00
Jakub Sobon
774ad2479a
More test cases.
2018-06-18 22:36:20 +01:00
Jakub Sobon
ff5ce85170
Skeleton of the barchart widget and its tests.
2018-06-18 21:36:29 +01:00
Jakub Sobon
7ceec7a572
Support manually triggered redraw.
...
This can be a more viable option for some users as it is less resource
intensive. The user knows when the data in any of the widget changed and
thus can trigger a redraw. External events still redraw the terminal
immediately.
Done here:
- Added a controller for the manually triggered redraws.
- Added an example of using termdash with triggered redraw.
- Removing couple of races in the test by waiting for the event queue to
empty before comparing values and by moving the test of terminal resize
into the test that triggers redraws.
2018-06-18 20:13:20 +01:00
Jakub Sobon
0e620cf3ca
The event queue can now report if it is empty.
2018-06-18 20:02:17 +01:00
Jakub Sobon
fd186956f6
The fake widget can now draw custom text.
2018-06-18 20:01:48 +01:00
Jakub Sobon
0fb44ec8f3
Merge pull request #39 from mum4k/bugfix-rune-count
...
Support for full-width runes in the remaining code.
2018-06-13 17:35:49 +01:00
Jakub Sobon
b98948326b
Comment from @chipmunkie.
2018-06-13 17:28:32 +01:00
Jakub Sobon
870e1bda00
Merge branch 'master' into bugfix-rune-count
2018-06-04 17:46:41 +01:00
Jakub Sobon
c68e916c02
Move description above the image.
2018-06-04 17:46:21 +01:00
Jakub Sobon
405812665a
Merge branch 'master' into bugfix-rune-count
2018-06-04 17:43:30 +01:00
Jakub Sobon
4a65691668
Merge pull request #38 from mum4k/text-widget/6/wide-runes
...
Adds full-width rune support.
2018-06-04 17:42:30 +01:00
Jakub Sobon
5fd79c5d9e
Merge branch 'master' into text-widget/6/wide-runes
2018-06-04 17:39:02 +01:00
Jakub Sobon
1c17cb36f2
Updated doc as per comment.
2018-06-04 16:16:51 +01:00
Jakub Sobon
3969009573
Correcting link to the license file
2018-05-27 19:41:21 +01:00