Commit Graph

22 Commits

Author SHA1 Message Date
Jakub Sobon 16de0d2b87
Fixing build and test errors. 2018-04-02 00:47:08 +02:00
Jakub Sobon 19fb73bc55
Adding an "Error" event type. 2018-04-02 00:43:55 +02:00
Jakub Sobon 1911e2190a
Making the container API easier to use. 2018-04-01 16:00:20 +02:00
Jakub Sobon af6c5e9c81
Propagate the error when drawing the containers. 2018-04-01 01:02:37 +02:00
Jakub Sobon 3a3531d7e1
Implementation of container and its tests.
Including a diff utility for unit tests.
2018-04-01 00:57:33 +02:00
Jakub Sobon 6b592b7d34
Adding the draw library.
And a function that draws boxes.
2018-03-30 01:41:22 +03: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
Jakub Sobon 0617fd5ecf High level task list to track project status. 2018-03-26 18:22:07 +01:00
Jakub Sobon 85893fd411 Complete draft of the HLD. 2018-03-26 18:16:58 +01:00
Jakub Sobon a725c1f73a Details on widgets and the Widget API. 2018-03-26 18:04:09 +01:00
Jakub Sobon 1bd0b2f0fd Writeup on the role of the infrastructure. 2018-03-26 17:28:14 +01:00
Jakub Sobon ab6673540a Renaming display to terminal.
Also adding a .gitignore.
2018-03-26 16:31:20 +01:00
mumak 9d21af6c8a
Style related changes.
Image size and alignment.
Go syntax highlighting.
2018-03-26 15:45:29 +01:00
Jakub Sobon b8e5bcfddb Draft of the Display API and HLD. 2018-03-26 15:40:23 +01:00
Jakub Sobon 9b1307b84e Adding link to the design document. 2018-03-24 17:09:34 +00:00
Jakub Sobon a8ffc81b9f Template for the design document. 2018-03-24 17:05:01 +00:00
Jakub Sobon 6e7d2fa0be Iterating on the design goals and drafting requirements. 2018-03-24 12:31:33 +00:00
Jakub Sobon 3ee3375d0d Summary of background and design goals. 2018-03-24 12:14:06 +00:00
mumak d0e9717a83
Initial commit 2018-03-24 12:01:49 +00:00