Commit Graph

21 Commits

Author SHA1 Message Date
74965b0f66 Rewrite to use libev
libuv is too immature so far and I'm not in the mood to try and
link it statically via some horrible hack (no CMake support).

Also libev is much closer to my understanding of event loops.

The messaging model stays for when/if I want to return to libuv.
2014-10-28 02:39:37 +01:00
606c5f43af Use RLE bitmap compression 2014-10-27 18:49:21 +01:00
5cebe379c8 Add some file saving/loading 2014-10-27 18:03:16 +01:00
28a93ad693 Refactor the input part
And add support for moving the canvas with cursor keys.
2014-10-27 17:20:46 +01:00
50842917f6 Clarify pixel address computation 2014-10-27 16:48:06 +01:00
ac22d17491 Update the README
Finally we're doing what we wanted.
2014-10-27 15:48:57 +01:00
1f2e487302 Woo we can draw over the network now 2014-10-27 13:54:53 +01:00
29bec0c0e0 Lay down some server-client foundations 2014-10-26 18:57:28 +01:00
3ea5918fee Yes, I'm very funny 2014-10-26 18:55:25 +01:00
294fc28e29 Apparently we need the new libuv 2014-10-26 18:54:33 +01:00
d77a47d54f Inject some of my copy-paste library
So far only to support argument parsing, which we're going to need
soon to set up a server.
2014-10-25 00:48:35 +02:00
0164a99cb3 Update the README 2014-10-25 00:03:17 +02:00
98a5fcaac2 Fix the ANSI SGR export 2014-10-25 00:03:17 +02:00
a49113ae68 Use PROJECT_* instead of CMAKE_CURRENT_* 2014-10-24 23:02:46 +02:00
ee5f1b4cf2 Rewrite to use libuv
Also instead of resize_term() we use resizeterm() because the former
seems to cause massive glitches.  Not flicker-free in urxvt anymore
though.
2014-10-24 23:01:57 +02:00
4e1c52d798 Add a license header 2014-10-24 22:58:18 +02:00
cc507f8503 Add the termo git submodule 2014-10-24 08:33:46 +02:00
52e8c7ac09 Add IRC and ANSI SGR exports 2014-10-24 08:27:13 +02:00
de3c8b89bb Back the canvas with a real bitmap
The first step towards making this actually useful.

Also the canvas can be now scrolled with the middle mouse button.
2014-10-23 23:27:48 +02:00
47e6e7fa23 Use a real indexed palette
Instead of copying attributes from the screen.

And other minor changes, e.g. don't select a colour when the mouse
is dragged over the palette, instead of clicking on it.
2014-10-23 09:23:10 +02:00
de8b897b31 Initial commit
Forked from termo's demo-draw.c
2014-10-22 23:58:25 +02:00