Wez Furlong
d73892a4fd
update for recent rustfmt changes
...
No functional changes
2018-04-11 13:15:12 -07:00
Wez Furlong
57b438f867
Ensure that the TERM variable is set
...
This is important when being launched directly from the window manager.
2018-04-11 12:04:53 -07:00
Wez Furlong
197819db6d
Add basic support for ICH which is used by bash CTRL-R
2018-03-09 22:15:06 -08:00
Wez Furlong
1c4500082f
don't accumulate lingering zombies after closing a tab
2018-03-04 19:29:18 -08:00
Wez Furlong
2b822687be
resize all tabs when resizing the window
2018-03-04 17:24:19 -08:00
Wez Furlong
ff5a3179e1
new windows with Cmd-N
2018-03-04 17:17:37 -08:00
Wez Furlong
ddb0055124
Add docs about window and tab hotkeys
2018-03-04 17:10:38 -08:00
Wez Furlong
68bb0e859e
Show tab number in title bar when there are tabs
2018-03-04 17:06:06 -08:00
Wez Furlong
c5ce3e2621
Add CMD-[0-9] as shortcut for tab switching
2018-03-04 16:52:40 -08:00
Wez Furlong
edf44c9c48
We can now spawn and switch tabs!
2018-03-04 16:46:14 -08:00
Wez Furlong
cabc6681b6
add tab spawning
2018-03-04 16:27:02 -08:00
Wez Furlong
816925424a
add basic tab related key bindings
2018-03-04 13:31:16 -08:00
Wez Furlong
eb7153eb50
theoretically deal with a single tab closing on its own
2018-03-04 13:26:40 -08:00
Wez Furlong
dfafebebef
A window can theoretically now have multiple tabs
2018-03-04 12:47:58 -08:00
Wez Furlong
6c6f4ea39b
Each window now has a single Tab
2018-03-04 12:32:20 -08:00
Wez Furlong
d571d555f1
impl Evented for XCB Connection
2018-03-04 12:30:43 -08:00
Wez Furlong
88473e5a09
move window/tab/fullscreen related to TerminalHost
2018-03-04 09:13:36 -08:00
Wez Furlong
9affe0ea30
We can now open and safely close multiple windows!
2018-03-04 08:41:40 -08:00
Wez Furlong
6ccf3c98d7
support F-Keys with native xcb code
2018-03-04 07:32:37 -08:00
Wez Furlong
41cfcfdb15
Bring back my original xcb+egl window bits
2018-03-04 07:27:18 -08:00
Wez Furlong
079ac49c6b
add guiloop as indirection over glutinloop
...
... and remove dep on glutin. We don't properly compile yet,
but this is a step to bringing back the egl bits we had originally.
2018-03-03 22:03:12 -08:00
Wez Furlong
089e98050d
reduce deps on glutin in futurecore
2018-03-03 21:47:14 -08:00
Wez Furlong
dac2962c29
factor wakeup into glutinloop
2018-03-03 21:38:06 -08:00
Wez Furlong
7161191e52
factor glutin bits into their own file
2018-03-03 21:23:18 -08:00
Wez Furlong
6623e1ff86
We can now spawn additional windows
...
However, https://github.com/tomaka/winit/issues/414 makes this unsafe.
2018-03-03 18:48:08 -08:00
Wez Furlong
4089649d8c
simplify the TerminalWindow constructor a little more
2018-03-03 17:29:16 -08:00
Wez Furlong
b1a5ebd06f
slightly simplify TerminalWindow constructor
2018-03-03 17:21:33 -08:00
Wez Furlong
d7e5df0428
fix typo
2018-03-03 17:15:31 -08:00
Wez Furlong
a387dc0e49
factor out window spawning
2018-03-03 17:10:47 -08:00
Wez Furlong
f7a567b847
share a reference to the config
2018-03-03 16:42:46 -08:00
Wez Furlong
feaad96069
add some comments
2018-03-03 16:13:20 -08:00
Wez Furlong
7a5ba82fa9
cleanup some Drops
2018-03-03 15:50:02 -08:00
Wez Furlong
ce8de2ca03
use futures to manage closing a window
2018-03-03 15:48:36 -08:00
Wez Furlong
5db84856e9
clippy
2018-03-03 13:27:28 -08:00
Wez Furlong
f1db5dac40
clippy
2018-03-03 13:00:56 -08:00
Wez Furlong
b945db3bdd
migrate sigchld handling to GuiSender
2018-03-03 11:18:51 -08:00
Wez Furlong
ebc4eaab36
move paste over to GuiSender
2018-03-03 11:07:27 -08:00
Wez Furlong
00b45ce350
begin stitching the new mio bits into the gui loop
2018-03-03 10:51:55 -08:00
Wez Furlong
7f5991028b
refactor pty thread bits into a more generic remote mio
2018-03-03 09:29:41 -08:00
Wez Furlong
048a6403bc
Start building out future executor
2018-03-03 08:14:34 -08:00
Wez Furlong
a9c2578719
more event loop restructuring
2018-03-03 07:30:36 -08:00
Wez Furlong
40bd58b086
move event processing into its own method
2018-03-02 09:02:03 -08:00
Wez Furlong
a8d2472d29
refactor event loop into its own struct
2018-03-02 08:53:38 -08:00
Wez Furlong
377135a71c
more shutdown cleanup
...
We don't print so many stack traces on shutdown, and we now properly
join our threads.
Need to improve how we handle DelPty though.
2018-03-01 23:27:24 -08:00
Wez Furlong
e1001ca289
tidy up session close handling
...
Return a discrete Fail type for process termination and window
close events. Handle those a bit more cleanly; when we see that
they've gone, remove things from the maps that we've built.
When there are no more windows left, wind down the event loop.
2018-03-01 22:56:07 -08:00
Wez Furlong
34cc57ceea
factor out the pty reading thread
2018-03-01 22:17:05 -08:00
Wez Furlong
6e98b10027
more plumbing to route window events
2018-03-01 21:33:49 -08:00
Wez Furlong
44694fec95
Start building out plumbing for mutiple windows
2018-03-01 21:02:25 -08:00
Wez Furlong
8e68141ab1
Add padding to glyphs in the texture atlas
...
I've had some reports of some artifacts in some cases and I suspect
that neighboring glyphs were to blame.
2018-03-01 09:24:44 -08:00
Wez Furlong
41f1cf9966
Get the one true descender value
2018-03-01 09:12:31 -08:00