Wez Furlong
2559257869
Add BufferedTerminal
2018-07-22 08:03:11 -07:00
Wez Furlong
c91219d65b
add new_terminal() func for ease of use
...
Make the WindowsTerminal constructors more closely match those
of UnixTerminal in behavior.
2018-07-22 07:05:20 -07:00
Wez Furlong
45ec006a5d
rename screen::Screen to surface::Surface
2018-07-22 05:44:51 -07:00
Wez Furlong
86e59293d3
move renderer state into the Terminal instance
...
This simplifies usage and the Terminal trait
2018-07-21 13:19:38 -07:00
Wez Furlong
82bcccd640
add basic windows console renderer
2018-07-21 08:54:38 -07:00
Wez Furlong
f9fa2733fd
expose windows terminal control handles via Terminal trait
2018-07-21 05:12:56 -07:00
Wez Furlong
59d1a58297
sketch out a NOP windows renderer
2018-07-21 04:26:27 -07:00
Wez Furlong
7d83833e8c
Now with something approximating windows support
...
I've run hello.rs under wine, but even though wine seems
to happily report that the windows 10 escapes are handled,
they are not. So more work is needed.
2018-07-20 20:39:16 -07:00
Wez Furlong
5ac675bb5b
simplify the terminfo renderer code a little by reducing macro usage
2018-07-20 07:18:18 -07:00
Wez Furlong
fe32fac524
Add ClearScreen Action
...
For clearing to a given background color, in some cases we may need
to know the size of the screen. To facilitate this, I've changed
the interface for the renderer to receive the Terminal instance
so that we can query the size of the screen.
2018-07-19 18:01:13 -07:00
Wez Furlong
c78d8a0ccc
add get/set terminal size
2018-07-19 11:26:24 -07:00
Wez Furlong
01f57141e5
Add UnixTerminal and the Terminal and IsTty traits
2018-07-19 10:52:29 -07:00
Wez Furlong
71354f8cb9
flesh out example and a couple of bugs
2018-07-19 09:58:48 -04:00
Wez Furlong
760be03f8e
add failing example
2018-07-17 19:04:23 -07:00