Commit Graph

9 Commits

Author SHA1 Message Date
Jakub Sobon 2071fd15bb
Support for 256 colors.
- Documenting color modes.
- Providing helper functions to set colors in different formats.
- Allowing users to set other than the 8 system colors.

Fixes #66
2019-01-13 21:53:26 -05:00
Jakub Sobon 1c17cb36f2
Updated doc as per comment. 2018-06-04 16:16:51 +01:00
Jakub Sobon 0049acbd01
Full-width rune support in the cell buffer.
- don't allow partial overwrite of a full-width rune.
- don't allow placement of a full-width rune if it doesn't fit.
- allow callers to also read from the canvas (read-only).
2018-05-20 22:47:37 +01:00
Jakub Sobon 79218c9233
Fixing lint errors.
- Missing comments.
- Invalid comments.
- Stuttering public name.
2018-05-11 16:32:37 +01:00
Jakub Sobon 2cd3343c81 Adding licences and a script to automate the same. 2018-04-14 23:06:57 +01:00
Jakub Sobon dc1f2c5a29
Implementing canvas functionality.
Done here:
- adding helper library which determines area from size and vice versa.
- fixing an off-by-one bug related to area sizes.
- allowing overwrite of cell options by passing an existing cell.Options
instance.
- implementing canvas and its tests.
2018-03-29 03:28:36 +03:00
Jakub Sobon 59e1bd6472
Implementing cell, buffer, container options and fake terminal.
Push after a partial commit to prevent data loss.
This isn't complete and doesn't have complete test coverage.
2018-03-28 21:34:20 +03:00
Jakub Sobon 53fe40fcec
Naive implementation of the terminalapi using the termbox library.
This just wraps termbox, getting Events isn't supported yet.

Also adding an experimental.
2018-03-27 20:20:05 +01:00
Jakub Sobon bc42865277
Defining the APIs. 2018-03-27 19:01:35 +01:00