Wez Furlong
df99a4f3fb
fixup re-export of ExitStatus on unix
2019-02-17 09:07:31 -08:00
Wez Furlong
b387464054
implement pty enabled spawner for win32
...
We can now start a process with a new pty, but fail when we reach
the shader spec. Progress!
2019-02-17 09:05:37 -08:00
Wez Furlong
c650cbbf08
flesh out some of the windows pty impl
2019-02-16 23:46:18 -08:00
Wez Furlong
f976ca6e23
add rusttype rasterizer
2019-02-16 21:29:04 -08:00
Wez Furlong
12e2dcd181
add incomplete shaping plumbing
2019-02-16 17:12:54 -08:00
Wez Furlong
a4e1bd827e
start integrating rusttype and font_loader for windows
2019-02-16 16:15:39 -08:00
Wez Furlong
434c1a1664
wezterm.exe now links, but is missing lots of impl
2019-02-16 15:21:28 -08:00
Wez Furlong
70a98b63a7
more stubs for win pty
2019-02-16 15:15:51 -08:00
Wez Furlong
1580306138
flesh out winsize struct for win
2019-02-16 15:11:57 -08:00
Wez Furlong
2c3d56c717
sigchld is a unix concept
2019-02-16 15:08:52 -08:00
Wez Furlong
6d8e839b2b
no clipboard on windows yet
2019-02-16 15:05:38 -08:00
Wez Furlong
f42463b601
make pty reading slightly more portable to win
2019-02-16 15:03:34 -08:00
Wez Furlong
66a6b4b912
can run with glutin/x11/opengl on linux again
...
Not everything is implemented, and this isn't intended to be the main
usage at the moment, but it does prove to me on WSL that this codepath
works. I want to get native windows code working through here too.
2019-02-16 14:28:02 -08:00
Wez Furlong
8995974124
rejigger gliumwindows to not need non-blocking io for pty
2019-02-16 13:34:09 -08:00
Wez Furlong
6c32efe76e
minor tidy up of gluimwindows dead code
2019-02-16 09:54:16 -08:00
Wez Furlong
d95da9c159
add feature to force building with glutin on linux
...
this helps me verify from WSL that I didn't break compilation in
the refactoring to follow
2019-02-16 09:27:22 -08:00
Wez Furlong
9bc99f5f1c
tweak windows imports
2019-02-16 08:54:24 -08:00
Wez Furlong
77884e2522
fixup KeyCode variant usage
2019-02-16 08:53:59 -08:00
Wez Furlong
ebf7210ae6
stub out some windows vs unix bits
2019-02-16 08:21:21 -08:00
Wez Furlong
2db17562a6
rustfmt
2019-02-16 00:08:38 -08:00
Wez Furlong
4098931e62
improve rendering of emoji
...
We were scaling some of them down way too much, so use a simpler
scaling computation.
In addition, try to "crop" the glyph to the non-transparent bits.
This seems to improve the visible size of some single-width glyphs
that don't fully occupy the bitmap size.
2018-10-21 16:04:42 -07:00
Wez Furlong
ff20499a09
improve cell metrics for emoji font
...
Take the bitmap size for the metrics, rather than computing something
that has a 0 width.
2018-10-21 14:45:26 -07:00
Wez Furlong
ada197f94e
don't panic if we get confused by text char boundaries
...
This triggered for me when grepping a file containing various
foreign language translations (non UTF-8).
2018-10-21 14:45:26 -07:00
Wez Furlong
61fec42216
cargo fmt with current stable rustfmt
2018-09-19 20:06:31 -07:00
Wez Furlong
3090d5c6f4
update freetype and improve loading of emoji fonts on ubuntu 18.04
2018-09-19 17:53:13 -07:00
Wez Furlong
d3d11d629f
fix rendering of reverse video
...
This got broken when unifying the termwiz color type; we used to
have enum variants for background and foreground colors, but now
we just have Default and we need to resolve using helper methods
in the palette.
That means we need to resolve the colors before we swap them for
reverse video.
Bonus: we can lift this out of the loop for the cell cluster.
2018-08-05 17:19:58 -07:00
Wez Furlong
60c24a9e41
consolidate on one set of input keycodes and modifiers
2018-08-05 14:28:29 -07:00
Wez Furlong
18f34545b3
rustfmt
2018-08-05 09:14:40 -07:00
Wez Furlong
e2461b2380
add concept of implicit hyperlink to termwiz
...
Moves that functionality from wezterm+term into termwiz
2018-08-05 09:13:55 -07:00
Wez Furlong
fd148f33e9
allow cycling from tab 0 -> max when using hotkeys
...
We would allow wrapping around the top end of tabs, but not the bottom.
This fixes that.
2018-08-04 22:36:43 -07:00
Wez Furlong
efb9acdc84
don't error out if we can't find a glyph
...
Could repro the issue with this little python script:
```
print(u"\ua123HELLO")
```
2018-08-04 15:06:16 -07:00
Wez Furlong
1a4eba3eb9
turns out that we weren't actually using linear rgb here
2018-08-04 11:09:54 -07:00
Wez Furlong
472d243a33
cut over to termwiz Cell
2018-08-04 09:35:39 -07:00
Wez Furlong
1ec83706e7
use termwiz::Hyperlink
2018-08-04 00:26:24 -07:00
Wez Furlong
039eadc05f
update rustfmt
2018-07-11 08:30:49 -07:00
Wez Furlong
6efce9943c
std::env::home_dir is deprecated, use an alternative
2018-07-11 08:29:11 -07:00
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
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
68bb0e859e
Show tab number in title bar when there are tabs
2018-03-04 17:06:06 -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
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