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
Wez Furlong
f3149a5bf6
Clear the selection rendering when the cells change
...
I think this covers it... I need to follow up with some test coverage.
Fixes: https://github.com/wez/wezterm/issues/9
2018-02-28 09:06:51 -08:00
Wez Furlong
4757b93ff3
move these debug messages to debug! rather than eprintln!
2018-02-28 07:42:06 -08:00
Wez Furlong
9ad9360075
Update tab stops when resizing
...
The issue here was that we were not updating the tab stops when making
the window larger. This had the side effect of causing the cursor to
move in unexpected ways when tabbing to the right.
Fixes: https://github.com/wez/wezterm/issues/13
2018-02-28 00:15:54 -08:00
Wez Furlong
60e89f6328
Fix latency issue with clipboard/selection handling
...
We now use mio to select on both the xcb connection and the
channel that we're using to bridge the threads.
2018-02-27 23:56:20 -08:00
Wez Furlong
aad282cb81
and move some more of the clipboard code around
2018-02-27 22:14:10 -08:00
Wez Furlong
451f7b37bb
move some more clipboard code around
2018-02-27 22:06:44 -08:00
Wez Furlong
0181a1ccfc
refactor clipboard code
...
No real functional changes, this is just moving some things
around to make it a bit easier to address the laggy selection
handling.
2018-02-27 21:57:17 -08:00
Wez Furlong
a274700cb8
figure out what a couple of sequences used by mc
are
...
But don't do anything to implement them yet
2018-02-27 21:33:02 -08:00
Wez Furlong
9d75a42af6
improve debug output for unhandled csi
2018-02-27 21:21:05 -08:00
Wez Furlong
045abeee42
print ding when the bell is rung
...
refs: https://github.com/wez/wezterm/issues/3
2018-02-27 20:59:09 -08:00
Wez Furlong
27ab1b65a0
Add support for F-keys
...
Fixes https://github.com/wez/wezterm/issues/11
2018-02-27 08:01:41 -08:00
Wez Furlong
791d39bb4d
Fix 256 color palette
...
We were skewing to blue before red and that didn't match xterm.
Fixes https://github.com/wez/wezterm/issues/12
2018-02-27 07:26:49 -08:00
Pádraig Brady
27f1121be2
add Fedora and Centos support to get-deps
2018-02-27 00:09:31 -08:00
Pádraig Brady
984502f3d2
add cmake as a dependency
2018-02-27 00:09:31 -08:00
Wez Furlong
b57bb5b39a
fix typo!
2018-02-26 09:09:41 -08:00
Wez Furlong
0d39271d5e
Add some resource for folks that might need help
2018-02-26 09:08:37 -08:00
Wez Furlong
1e71efa33a
remove the clunky answerback thing
2018-02-26 08:43:14 -08:00
Wez Furlong
7b5dbab1a4
Do a better job at BCE when erasing lines
...
The `dialog` program relies on this.
2018-02-26 08:08:05 -08:00
Wez Furlong
8e9620d001
add CHA support, used by dialog
2018-02-26 07:36:32 -08:00
Wez Furlong
4b92a03c15
remove another debug line
2018-02-26 07:15:16 -08:00
Wez Furlong
4a5a39dde0
some more readme tweaks
2018-02-25 21:12:24 -08:00
Wez Furlong
5dfcc3ab7c
Update README.md
...
Tweak the readme a bit
2018-02-25 21:09:21 -08:00
Wez Furlong
58906af9d4
Make it clearer that this is alpha
2018-02-25 09:36:27 -08:00