Wez Furlong
638278f7e7
Try harder to get LANG set on macos
...
Treat empty LANG the same as unset LANG.
If setlocale fails, fall back to en_US.UTF-8 and log a message.
refs: https://github.com/wez/wezterm/issues/1761
2022-03-24 18:26:33 -07:00
Wez Furlong
27088fab28
on windows, log to C:\Users\USER\.local/share/wezterm/gui-log-PID.txt
...
refs: #1576
2022-03-17 16:52:35 -07:00
Wez Furlong
ab8907e735
env: put appimage bin dir into path
...
This allows `wezterm connect unix` to work for me when using the
appimage.
refs: https://github.com/wez/wezterm/issues/1359
2021-12-01 08:42:02 -07:00
Wez Furlong
81d40b905f
windows: workaround Rust 1.56 bug 88576
...
Skip initializing pretty logger when running in the windows subsystem.
refs: https://github.com/wez/wezterm/issues/1245
refs: https://github.com/rust-lang/rust/issues/88576
2021-10-24 11:50:16 -07:00
Wez Furlong
5f5a48c830
tidy up log levels for wgpu
2021-05-09 10:59:48 -07:00
Wez Furlong
8b71a57513
add debug overlay
...
Adds a `ShowDebugOverlay` key assignment that will create a tab
overlay that shows a limited number of recently logged events.
refs: https://github.com/wez/wezterm/issues/641
2021-05-03 09:19:38 -07:00
Wez Furlong
c66e8f5c5e
use $WEZTERM_LOG to configure log levels ad-hoc
...
80214319ae
broke the use of RUST_LOG to
turn up trace logging.
This commit refactors logger initialization into the env-bootstrap crate
so that it is centralized, and adopts the use of `WEZTERM_LOG` to
override the default logging filters, rather than `RUST_LOG`.
2020-12-23 12:19:19 -08:00
Wez Furlong
421155e44e
rustfmt
2020-12-10 10:44:39 -08:00
Wez Furlong
eb83f28810
deps: dirs -> dirs_next
...
I saw that former is unmaintained, and dependabot wants
to upgrade that one.
2020-12-10 10:08:49 -08:00
Wez Furlong
f8c35f191b
wezterm: add env bootstrap to mux server, too
2020-10-24 23:33:31 -07:00
Wez Furlong
21dbeb6f83
wezterm: fixup APPIMAGE environment consistently
...
Need to apply the same logic in wezterm-gui as we do
in the wezterm-cli.
2020-10-24 23:21:03 -07:00