Commit Graph

77 Commits

Author SHA1 Message Date
Přemysl Eric Janouch 362fa366a7 Update termo
Now we don't link against two versions of ncurses. ( ._.)
2014-11-30 00:40:40 +01:00
Přemysl Eric Janouch 08a2d53eb4 Draw continuous lines
So that the application is actually usable in shitty terminals.
2014-11-29 23:58:41 +01:00
Přemysl Eric Janouch a47ed4fe84 Update termo 2014-11-19 03:26:03 +01:00
Přemysl Eric Janouch ef257d11fb Merge pull request #1 from Bystroushaak/master
README rewritten to restructured text.
2014-10-28 03:24:08 +01:00
Bystroushaak f21f10ac1b README rewritten to restructured text. 2014-10-28 03:17:39 +01:00
Přemysl Eric Janouch 8838e88d91 More changes to fit libev's model 2014-10-28 02:59:39 +01:00
Přemysl Eric Janouch 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
Přemysl Eric Janouch 606c5f43af Use RLE bitmap compression 2014-10-27 18:49:21 +01:00
Přemysl Eric Janouch 5cebe379c8 Add some file saving/loading 2014-10-27 18:03:16 +01:00
Přemysl Eric Janouch 28a93ad693 Refactor the input part
And add support for moving the canvas with cursor keys.
2014-10-27 17:20:46 +01:00
Přemysl Eric Janouch 50842917f6 Clarify pixel address computation 2014-10-27 16:48:06 +01:00
Přemysl Eric Janouch ac22d17491 Update the README
Finally we're doing what we wanted.
2014-10-27 15:48:57 +01:00
Přemysl Eric Janouch 1f2e487302 Woo we can draw over the network now 2014-10-27 13:54:53 +01:00
Přemysl Eric Janouch 29bec0c0e0 Lay down some server-client foundations 2014-10-26 18:57:28 +01:00
Přemysl Eric Janouch 3ea5918fee Yes, I'm very funny 2014-10-26 18:55:25 +01:00
Přemysl Eric Janouch 294fc28e29 Apparently we need the new libuv 2014-10-26 18:54:33 +01:00
Přemysl Eric Janouch 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
Přemysl Eric Janouch 0164a99cb3 Update the README 2014-10-25 00:03:17 +02:00
Přemysl Eric Janouch 98a5fcaac2 Fix the ANSI SGR export 2014-10-25 00:03:17 +02:00
Přemysl Eric Janouch a49113ae68 Use PROJECT_* instead of CMAKE_CURRENT_* 2014-10-24 23:02:46 +02:00
Přemysl Eric Janouch 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
Přemysl Eric Janouch 4e1c52d798 Add a license header 2014-10-24 22:58:18 +02:00
Přemysl Eric Janouch cc507f8503 Add the termo git submodule 2014-10-24 08:33:46 +02:00
Přemysl Eric Janouch 52e8c7ac09 Add IRC and ANSI SGR exports 2014-10-24 08:27:13 +02:00
Přemysl Eric Janouch 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
Přemysl Eric Janouch 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
Přemysl Eric Janouch de8b897b31 Initial commit
Forked from termo's demo-draw.c
2014-10-22 23:58:25 +02:00