1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-24 16:08:34 +03:00
Commit Graph

375 Commits

Author SHA1 Message Date
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
Wez Furlong
0af1be0f40 make it less alarming when showing the lcd filter error msg 2018-03-01 08:18:34 -08:00
Wez Furlong
022083ffde Ugh, meant to amend this into the prior commit 2018-03-01 08:18:19 -08:00
Wez Furlong
82164ba783 Add automatic style rule generation
This looks reasonable with Liberation Sans Mono (which has italics!)
and Deja Vu Sans Mono (which has bold but not italics).

Fixes: https://github.com/wez/wezterm/issues/6
2018-03-01 08:10:21 -08:00
Wez Furlong
7b7b7cff46 Add support for OSC 52, clipboard
We only allow setting, not reading, the clipboard.
2018-03-01 00:20:15 -08:00
Wez Furlong
80f114c3ee stubs for a couple of OSC sequences
These do nothing, but at least we don't spew about them.
2018-02-28 23:32:30 -08:00
Wez Furlong
28aafa4a73 Improve printing of unknown OSC 2018-02-28 23:09:00 -08:00
Wez Furlong
f986e0c6d8 Properly check the range intersection for invalidating selection 2018-02-28 22:07:48 -08:00