Wez Furlong
78424036f9
mux: reduce kill/wait period for fish
...
This kill/wait was added to workaround fish being weird on macos.
This is accidentally exponential as the pty layer already loops,
so we don't need to also loop here.
refs: https://github.com/wez/wezterm/issues/774
2021-05-21 23:33:51 -07:00
Wez Furlong
caed905626
ci: workaround rustup hang on freebsd
...
refs: https://github.com/rust-lang/rustup/issues/2774
2021-05-21 20:13:15 -07:00
bl-ue
ffbfb25f16
Update wording in README.md
...
Minor wording updates to improve consistency and flow.
2021-05-19 19:08:57 -07:00
Wez Furlong
e23ea64864
changelog for #799
...
refs: https://github.com/wez/wezterm/pull/799
2021-05-18 08:37:22 -07:00
Arvedui
dbc278e59a
Fix spawning new tabs/windows in directory with urlunsafe paths
...
The CWD is internally stored as URL. The path component is therefore
stored percent_encoded. It must be decoded before use.
2021-05-18 08:33:06 -07:00
Wez Furlong
bf0320624d
cargo update
2021-05-17 07:28:56 -07:00
Wez Furlong
a8f7359322
wezterm.terminfo: update to use newer mouse protocol by default
...
refs: https://github.com/wez/wezterm/issues/789
2021-05-15 19:15:26 -07:00
Wez Furlong
9b082edb8d
log errors when a color scheme fails to load
...
refs: https://github.com/wez/wezterm/issues/794
2021-05-15 13:39:31 -07:00
Wez Furlong
db45238769
improve exit_behavior messaging
...
The status information now explains the exit status and the
exit_behavior, as well as links to the docs on exit_behavior.
refs: https://github.com/wez/wezterm/issues/795
2021-05-15 08:32:29 -07:00
Wez Furlong
69561b96c8
fix wrong starting row for split paints when tab bar is at bottom
...
refs: https://github.com/wez/wezterm/issues/797
2021-05-15 07:47:33 -07:00
Wez Furlong
a59e9b1706
update metrics 0.14 -> 0.15
...
closes: https://github.com/wez/wezterm/pull/778
2021-05-11 19:20:24 -07:00
Wez Furlong
d246ef4cdc
cargo fmt
2021-05-11 19:19:55 -07:00
Wez Furlong
3c6fb77879
docs for https://github.com/wez/wezterm/issues/785
...
closes: https://github.com/wez/wezterm/issues/785
2021-05-11 18:59:46 -07:00
Wez Furlong
3d83a805ec
add support for the true color escapes that don't specify colorspace
...
refs: https://github.com/wez/wezterm/issues/785
2021-05-11 17:24:26 -07:00
Wez Furlong
965e413c52
cargo update
2021-05-11 17:03:06 -07:00
Wez Furlong
01de37b709
fix Sixel HLS interpretation
...
Two issues here:
* The hue angles need adjusting to work with the palette library
* The resultant RGB color had the wrong gamma level, resulting in
an overly bright image.
refs: https://github.com/wez/wezterm/issues/775
2021-05-09 11:43:26 -07:00
Wez Furlong
5f5a48c830
tidy up log levels for wgpu
2021-05-09 10:59:48 -07:00
Wez Furlong
c2afe83d5d
optimize resize event processing during live resize
...
This works by coalescing a sequence of resize/repaint events and
taking the most recent one.
2021-05-09 10:28:25 -07:00
Wez Furlong
e92e912443
refactor WindowEvent handling
2021-05-09 09:58:20 -07:00
Wez Furlong
99cc5a2242
changelog for #699
...
closes: https://github.com/wez/wezterm/issues/699
2021-05-09 08:21:38 -07:00
Wez Furlong
7cfbd133ac
fixup warning in wgpu example
2021-05-09 08:20:03 -07:00
Wez Furlong
b8acdf592f
fix panic when double-click-selection drags across line boundary
...
closes: https://github.com/wez/wezterm/issues/762
2021-05-09 08:17:56 -07:00
Wez Furlong
55289013ed
wezterm cli split-pane
now respects cwd of source pane
...
closes: https://github.com/wez/wezterm/issues/766
2021-05-09 08:02:35 -07:00
Wez Furlong
f4e9668952
fix scaling of -->
ligature in base font
...
refs: https://github.com/wez/wezterm/issues/699
2021-05-09 07:19:18 -07:00
Kerfuffle
258038cd16
docs: Correct Lua example for PasteFrom action. ( #773 )
2021-05-09 06:54:09 -07:00
Wez Furlong
4e6f341f10
window: wayland support is no longer optional at build time
2021-05-08 17:48:58 -07:00
Wez Furlong
35351a97b4
x11: don't need to ref gl context in window any more
...
This is now managed by the client application
2021-05-08 15:05:07 -07:00
Wez Furlong
5f59bf25be
window: tidy up infinite sleeps
...
refs: #770
2021-05-08 14:58:07 -07:00
Wez Furlong
4c847ff4ff
window: remove now-dead bits on macos
...
refs: #770
2021-05-08 14:12:30 -07:00
Wez Furlong
5f612c17f5
windows: remove some now-dead code
...
refs: #770
2021-05-08 13:04:59 -07:00
Wez Furlong
7d301b91a7
x11/wayland: reduce frequency of core event loop
...
In an earlier incarnation we needed to wake up more often to paint,
but we now should have reliable event sources for all of the
invalidation cases and we can thus sleep for much longer in
the main event loop.
refs: #770
2021-05-08 12:59:33 -07:00
Wez Furlong
a884021074
window: remove Connection::schedule_timer
...
smol's Timer is used to replace this concept
refs: #770
2021-05-08 12:38:34 -07:00
Wez Furlong
fdce2d71d0
decompose period maintenance function
...
Split it into its component parts, and change the new dispatch
loop to sleep the appropriate interval only when needed.
refs: #770
2021-05-08 12:28:19 -07:00
Wez Furlong
b5bf25a9c5
remove check_for_dirty_lines_and_invalidate_selection from periodic
...
Since we now always check this during rendering, and we have a reliable
event for pane output, we don't need this check in the period task.
refs: #770
2021-05-08 11:32:12 -07:00
Wez Furlong
ed6987298a
mux: remove window invalidation polling
...
Add a mux event for this insteead.
refs: https://github.com/wez/wezterm/issues/770
2021-05-08 11:25:03 -07:00
Wez Furlong
58157c47a9
config: can now subscribe to config change events
...
This removes a couple of periodic config polls
refs: https://github.com/wez/wezterm/issues/770
2021-05-08 11:06:07 -07:00
Wez Furlong
1cbaf55640
change mux empty poll to mux empty event
...
As part of reducing the amount of regularly scheduled stuff wezterm
does in the background, this commit restructures how an empty mux
is detected; now when the mux prunes dead windows it will emit
an Empty event.
The Activity type will now schedule a prune when it is dropped,
which will clean up and trigger the Empty event.
refs: https://github.com/wez/wezterm/issues/770
2021-05-08 10:25:49 -07:00
Wez Furlong
7cd9f32494
add some error context on notif dispatching
...
This was helpful when running down the situation in the previous
commit.
2021-05-08 10:21:44 -07:00
Wez Furlong
325e755216
window: don't propagate errors from close notif channel
...
When a window is being destroyed we expect the receiver end
to be disconnected, so we don't want to break out of the
message loop if a couple of residual windows fail to notify.
2021-05-08 10:20:26 -07:00
Wez Furlong
453cfc1813
avoid a panic during shutdown
2021-05-08 09:36:20 -07:00
Wez Furlong
e81fb6e721
make alpha work on macos
2021-05-08 09:36:20 -07:00
Wez Furlong
0503abc63a
fixup build on windows, make transparent
2021-05-08 09:36:20 -07:00
Wez Furlong
655eef271f
fixup build on macos
2021-05-08 09:36:20 -07:00
Wez Furlong
058c3f612f
add wgpu example
2021-05-08 09:36:19 -07:00
Wez Furlong
f4939c510b
impl raw window handle on Window
2021-05-08 09:36:19 -07:00
Wez Furlong
c4e1f2434a
add raw-window-handle impls
2021-05-08 09:36:19 -07:00
Wez Furlong
3d760653b4
window: macos: disable window restoration
2021-05-08 09:36:19 -07:00
Wez Furlong
a44607fb3f
with_window inner from FnMut -> FnOnce
...
Not sure why it was FnMut, but this tidies up an awkward
option/take/unwrap thing in notify().
2021-05-08 09:36:19 -07:00
Wez Furlong
fb72338689
window: macos set gl layer placement to top-left
2021-05-08 09:36:19 -07:00
Wez Furlong
89dfeb69d6
tweak message pumping around paint on win32
...
It's not perfect; the revised code won't repaint immediate during
resize which can make the window a little "wobbly" during resize.
2021-05-08 09:36:19 -07:00