Commit Graph
2401 Commits
Author SHA1 Message Date
Wez Furlong a78954375d wezterm: sixel rendering basically working
refs: https://github.com/wez/wezterm/issues/217
2020-06-11 08:13:37 -07:00
Wez Furlong 108def1f90 termwiz: add types for sixel parsing
refs: https://github.com/wez/wezterm/issues/217
2020-06-11 08:13:29 -07:00
Wez Furlong 9f1303fb8e term: fixup ctrl+ ambiguous ctrl code representation
This was originally intended to be swept in and dealt with as part of
adopting CSI-u (refs: https://github.com/wez/wezterm/issues/63) but the
default shift-space mapping is super irritating in vim (refs:
https://github.com/wez/wezterm/issues/126) so it got partially walked
back, but as a consequence we accidentally dropped the modifiers from
those keys (refs: https://github.com/wez/wezterm/issues/213 refs:
https://github.com/wez/wezterm/issues/214).

This commit restores the modifiers for that case.

In addition, since we now have a way to plumb configuration directly
into the term crate, this adds a config option to enable CSI-u for those
that want to use it.
2020-06-10 17:07:30 -07:00
Wez Furlong afe0475ced term: improve support for AnyEvent and non-SGR mouse reporting
refs: https://github.com/wez/wezterm/issues/211
2020-06-10 12:00:14 -07:00
Wez Furlong 9c9933039d term: implement RIS Full Reset sequence
refs: https://github.com/wez/wezterm/issues/211#issuecomment-642056005
2020-06-10 08:38:04 -07:00
Wez Furlong b370c8020f termwiz: fix swapped width/height in size reporting sequences
Whoops! :)

refs: https://github.com/wez/wezterm/issues/211#issuecomment-642056005
2020-06-10 08:22:46 -07:00
Wez Furlong d7c04b154d termwiz: shift Boxing of DCS around
Previously, we'd require boxing the entire DCS representation
in the escape sequence parser.  This was due to some clippy
advice that made sense at the time, but now that I'm looking
at more things using DCS it seems wasteful to Box each byte of
the dcs sequence.  This commit shifts the box to the heavier
weight portion: the DCS hook/entry representation.
2020-06-09 22:01:26 -07:00
Wez Furlong 18a234a162 termwiz: fix dec private mode parsing
When processing `\033[?1002;1003;1005;1006h`, when we encountered
`1005` we would skip 1006.  This was because we hit the unspecified
enum case for 1005 (we have no enum variant for that mode) and that
code path didn't properly advance only by a single position.

This commit fixes that.

refs: https://github.com/wez/wezterm/issues/211#issuecomment-641302077
2020-06-09 19:00:12 -07:00
Wez Furlong 65f94bd57b vtparse: fix DCS parsing
This corrects an issue where the mode byte of the DCS sequence was
discarded from the DcsHook, making it impossible to know what sequence
is being activated.

So far this hasn't come up as these sequences are relatively rare,
but in looking at sixel parsing I noticed the error.
2020-06-09 09:03:08 -07:00
Wez Furlong ff9151bb9b termwiz/term: implement window/pixel size responses
refs: https://github.com/wez/wezterm/issues/211
2020-06-08 18:44:05 -07:00
Wez Furlong fd512da983 term: improve iterm2 image pixel->cell calculation
If the image is smaller than the cell size we could end up
rounding that dimension to zero and ultimately not render
the texture to the cell.

This commit adjusts the math to round up, which yields
better results for the test in refs: https://github.com/wez/wezterm/issues/211
2020-06-08 18:02:51 -07:00
Wez Furlong 3fb3a61a99 ci: fix sed usage when updating homebrew 2020-06-08 11:09:16 -07:00
Wez Furlong d979a63e1a ci: hopefully last tweak for pushing macos homebrew tap 2020-06-08 10:16:43 -07:00
Wez Furlong c5a6862b48 ci: maybe fix tagging -> homebrew tap 2020-06-08 09:18:03 -07:00
Wez Furlong d047cfe1e9 docs: tweak aur table 2020-06-07 15:18:13 -07:00
Wez Furlong 8008f195c5 docs: add stable setup.exe link, tweak aur table 2020-06-07 14:52:40 -07:00
Wez Furlong 566449b419 docs: update to latest tag from today 2020-06-07 14:47:55 -07:00
Wez Furlong 74889cd47a ci: whoops(2): forgot to regeneate workflows
this should have been part of 9d6594869d
2020-06-07 14:46:57 -07:00
Wez Furlong 25eaa72861 docs: add brew and AUR
closes: https://github.com/wez/wezterm/issues/208
closes: https://github.com/wez/wezterm/issues/209
2020-06-07 14:45:45 -07:00
Wez Furlong 4d6aae26e4 docs: update for todays tagged release 2020-06-07 14:34:16 -07:00
Wez Furlong 9d6594869d ci: whoops, fixup path for homebrew tap update 2020-06-07 14:26:06 -07:00
Wez Furlong a909047ee0 ci: include escape sequence stripper in macos homebrew tap 2020-06-07 13:05:23 -07:00
Wez Furlong cb5aed126c ci: maybe automate updating homebrew tap
refs: https://github.com/wez/wezterm/issues/208
2020-06-07 12:48:41 -07:00
Wez Furlong 52aa395bea ci: apply black to generate-workflows.py 2020-06-07 12:20:56 -07:00
Wez Furlong d755c270e4 ci: add automation to update the wezterm-bin AUR at tag time
This is untested beyond eyeballing the locally generated file.
Will need to make a couple of tags to test this for sure.

refs: https://github.com/wez/wezterm/issues/209
2020-06-07 12:19:41 -07:00
Wez Furlong 76a1300c15 wezterm: teach get-deps about Arch 2020-06-07 10:57:41 -07:00
Wez Furlong 5d5083501e wezterm: dont stack search/copy overlays on top of each other
I noticed that repeatedly triggering copy mode kept adding the
`Copy Mode` prefix to the title!
2020-06-06 17:11:56 -07:00
Wez Furlong 344543260e wezterm: allow connui size to be specified, make update ui taller
The release notes are generally slightly taller than the default
window size.
2020-06-06 16:54:02 -07:00
Wez Furlong bec7e36a09 wezterm: updates: link directly to setup.exe on windows
and revise the installation page links to match the currently
running OS.
2020-06-06 16:47:02 -07:00
Wez Furlong 53ad753b28 wezterm: helper env for testing the update ui 2020-06-06 16:22:28 -07:00
Wez Furlong 5caafc45e0 wezterm: hide connui immediately on connection success 2020-06-06 14:32:34 -07:00
Wez Furlong c6b27131e4 wezterm: avoid busy loop if connui is closed early
I noticed a busy period when closing the connui when it is performing
the sleep with progress bar stage; returning from the function when
the channel disconnects seems like the right call.

I also made the loop slightly more efficient by only repainting if
the line has changed.
2020-06-06 14:18:39 -07:00
Wez Furlong bb5ee76296 docs: fix another typo 2020-06-06 12:01:02 -07:00
Wez Furlong 542fede5a5 window: update smithay-client-toolkit 2020-06-06 11:58:38 -07:00
Wez Furlong afe72f3bc5 wezterm: fix occasional hang when initiating a mux connection
I don't really like this as a solution, however: I'd rather
spend time transitioning towards async IO for this instead of
troubleshooting further here.
2020-06-06 11:44:22 -07:00
Wez Furlong 9e493fa0ef docs: fix typo 2020-06-06 10:14:30 -07:00
Wez Furlong 35121a0761 cargo update 2020-06-06 10:08:02 -07:00
Wez Furlong adb0ae6576 wezterm: remove workaround for ssh crate
All of the types in that crate are now Send so we don't have
to force that here.
2020-06-06 10:05:25 -07:00
Wez Furlong bd57029427 wezterm: allow specifying the remote wezterm path for mux clients
both tls and ssh domains now have a `remote_wezterm_path` config
option.
2020-06-06 10:01:39 -07:00
Wez Furlong 2e7f082bd7 wezterm: improve error reporting around mux connection failures 2020-06-06 09:46:25 -07:00
Wez Furlong d660f53f86 wezterm: render release notes as markdown in the update UI
This adds a markdown -> termwiz render helper for the update UI
to make the release notes look a bit more intelligible.
2020-06-06 06:33:54 -07:00
Wez Furlong 8204a1a6b6 termwiz: recognize wezterm as supporting iterm2 images 2020-06-05 23:08:17 -07:00
Wez Furlong cb6944f5eb wezterm: add buffer to termwiztermtab
I noticed that the launch menu was a bit flickery when moving
the mouse around, and I think a buffer will help.
2020-06-05 18:03:19 -07:00
Wez Furlong cadbb6fbb5 docs: add note about open wezterm here in explorer.exe 2020-06-05 08:56:07 -07:00
Wez Furlong 60d579b00f docs: fixup typo 2020-06-05 08:54:16 -07:00
Wez Furlong 62cd4665d2 wezterm: search mode: add PageUp + PageDown
These move one page at a time, which is useful when there are a lot
of matches in a given page.

refs: https://github.com/wez/wezterm/issues/91
2020-06-05 08:50:38 -07:00
Wez Furlong 47ca722456 docs: a couple of tweaks 2020-06-05 08:19:23 -07:00
Wez Furlong 0399ecb340 wezterm: add docs for copy mode 2020-06-05 08:07:46 -07:00
Wez Furlong 954a05919d pty: remove dead code 2020-06-05 07:33:23 -07:00
Wez Furlong c5f270f48b wezterm: windows: automatically add WSL entries to the launcher menu
This feels like a better out of the box experience.
The list can be disabled through the config if desired.
2020-06-05 07:25:35 -07:00