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

932 Commits

Author SHA1 Message Date
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
Wez Furlong
cfda6d7dd5 Can't run get-deps until you've cloned the repo 2018-02-25 09:29:43 -08:00
Wez Furlong
6145667e5d Add get-deps script for installing dependencies 2018-02-25 09:24:56 -08:00
Wez Furlong
83604ca888
Create CONTRIBUTING.md
Kick off some basic contribution guidelines
2018-02-25 09:12:29 -08:00
Wez Furlong
4f40d91533
Create ISSUE_TEMPLATE.md
Hopefully its not too verbose
2018-02-25 08:22:55 -08:00
Wez Furlong
de8c2f17d8 Add some helper scripts for diagnostic purposes
The idea is that these will help folks convey the nature of problems
that they might hit in the future.
2018-02-25 08:01:32 -08:00
Wez Furlong
981d939298 More gracefully handle running out of texture space
I manually checked this by setting TEX_SIZE to a small value
and watching the log reallocate progressively larger sizes.
2018-02-24 23:05:20 -08:00
Wez Furlong
b81fb73c37 Really avoid underflow with apt scrolling
I thought I took care of this in 7c0536f9a3,
but I misunderstood how saturating_sub works.  I still need to clamp
it within range.
2018-02-24 20:59:44 -08:00
Wez Furlong
f4d3ea6e05 remove stray debug print 2018-02-24 17:35:39 -08:00
Wez Furlong
4092796db3 Fix an issue where the background color rendered gray instead of black
When using the default monospace font on ubuntu (typicaly
DejaVuSansMono), the texture atlas would end up the bottom left pixel
being a shade of gray.

Since we were using (0,0) coords for whitespace cells, all whitespace
cells would appear shaded gray.

We now reserve a black pixel in the bottom left of the underline texture
and switch to that for whitespace instead.

I added Debug support to the ColorPalette while tracking this down,
and figured that I might as well keep it.
2018-02-24 17:28:35 -08:00
Wez Furlong
9737646978 fix delete 2018-02-24 15:58:38 -08:00
Wez Furlong
abc06620b8 add support for implicit hyperlinks 2018-02-24 15:43:02 -08:00
Wez Furlong
478c64e05e Parse command line arguments
We can now run something other than the shell.
2018-02-23 08:41:46 -08:00
Wez Furlong
7af77d34a0 Improve wheel scrolling
We now scroll further if you wheel harder
2018-02-23 08:10:11 -08:00
Wez Furlong
90dd732aee make selected and cursor text fg/bg configurable
Previously we only allowed changing the cursor bg color, now we
get 4 different color settings for this!
2018-02-23 07:57:52 -08:00
Wez Furlong
3f6a1f758b restore original window position when exiting fullscreen
We do some bookkeeping of our own because the get_position() method
appears to return stale data on Linux.
2018-02-23 00:10:42 -08:00
Wez Furlong
d661cf2894 take a stab at hidpi scaling for Jacob
I noticed this looked crazy when he dragged the window between
screens, so maybe this is better?
2018-02-22 23:50:52 -08:00
Wez Furlong
2c74a9fe1b Add primitive Alt-Enter shortcut for fullscreen mode
We'll want to make the bindings configurable in the future.
2018-02-22 23:31:20 -08:00
Wez Furlong
1245bfc065 use text mouse cursor by default, switch to hand cursor on hover 2018-02-22 23:22:08 -08:00
Wez Furlong
1fdbb33010 also need a receiver method 2018-02-22 23:06:50 -08:00
Wez Furlong
4878aef542 factor out clipboard bits as a trait
This will make it easier to plug in macos support later.
2018-02-22 22:53:50 -08:00