1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-26 06:42:12 +03:00
Commit Graph

18 Commits

Author SHA1 Message Date
Wez Furlong
d1ea0588a3 clarify Blocking enum; Blocking::No -> DoNotWait 2018-07-24 06:25:58 -07:00
Wez Furlong
cba05e3942 tidy up the hello program a tiny bit 2018-07-23 21:45:05 -07:00
Wez Furlong
fa91f1cd7b Add Terminal::poll_input for decoding terminal input
Both blocking and non-blocking are supported
2018-07-23 21:23:26 -07:00
Wez Furlong
e7486d331a ensure that we can copy screens even if they are blank
We were optimizing away setting the cells if only the background
attributes were different between the src and dest
2018-07-22 10:41:34 -07:00
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