1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-26 08:25:50 +03:00
A GPU-accelerated cross-platform terminal emulator and multiplexer written by @wez and implemented in Rust
Go to file
Wez Furlong 83fbba5a4f
teach ValuePrinter about binary strings
This commit changes how lua Strings are rendered when printing
them through ValuePrinter.

Previously, we'd try to convert to a utf8 string and print the bare
string to the output.  If it failed, we'd get a less than useful output;
for this example when inspecting the the `utf8` global module from
the debug overlay:

```
> utf8.charpattern
(error converting Lua string to &str (invalid utf-8 sequence of 1 bytes from index 4))
```

Now we handle the failure case and show it as a binary string using a
somewhat invented syntax; the `b"string"` syntax isn't valid in lua,
but it helps to communicate that this is a binary string:

```
> utf8.charpattern
b"[\x00-\x7f\xc2-\xfd][\x80-\xbf]*"
```

in addition, we now quote and escape unicode strings.

Previously;

```
> wezterm.target_triple
x86_64-unknown-linux-gnu
```

now:

```
> wezterm.target_triple
"x86_64-unknown-linux-gnu"
```

refs: https://github.com/wez/wezterm/pull/4336
2023-12-01 11:00:42 -07:00
.cargo build static on windows for static openssl linkage 2020-02-02 13:03:07 -08:00
.copr copr: more grubbing around 2023-10-02 16:35:42 -07:00
.github ci: s/fedora36/fedora39/ 2023-11-24 20:20:04 -07:00
assets add wezterm record --cwd argument 2023-09-29 09:30:24 -07:00
async_ossl Raise minimum Rust version to 1.51, de-vendor openssl on unix 2021-03-25 09:43:50 -07:00
base91 dyn everywhere 2019-06-08 21:28:11 -07:00
bidi cargo update 2023-07-30 20:09:15 -07:00
bintree Add SplitPane assignment 2022-05-21 21:09:11 -07:00
ci ci: s/fedora36/fedora39/ 2023-11-24 20:20:04 -07:00
codec feat: resize pane from CLI (#3491) 2023-04-18 08:34:39 -07:00
color-types font: port over radial gradient fills 2023-08-22 06:43:58 -07:00
config Adds config option for command palette rows (#4595) 2023-12-01 07:56:41 -07:00
deps deps: harfbuzz -> 8.3.0 2023-11-22 17:41:38 -07:00
docs docs: changelog for #4595 2023-12-01 07:58:37 -07:00
env-bootstrap breaking(ish): pane.get_current_working_dir now returns Url 2023-08-25 06:59:09 -07:00
filedescriptor Image decoding is now done in a bg thread 2023-03-17 11:41:20 -07:00
frecency remove transitive dep on time 0.1 2023-04-18 13:53:59 -07:00
lfucache lfucache: improve LFU algorithm and structure 2022-11-14 10:00:49 -07:00
licenses macOS: bundle and use MetalANGLE to enable Metal rendering 2020-10-17 09:34:01 -07:00
lua-api-crates deps: ordered-float -> 4.1.0 2023-09-28 14:39:22 -07:00
luahelper teach ValuePrinter about binary strings 2023-12-01 11:00:42 -07:00
mux add notification_handling option to control suppression 2023-09-28 18:05:18 -07:00
procinfo fix(clippy): Remove closures where possible 2023-03-19 08:41:38 -07:00
promise fix(clippy): Remove closures where possible 2023-03-19 08:41:38 -07:00
pty SHELL cleanup 2023-08-20 10:42:38 -07:00
rangeset rangeset: fix accidentally quadratic complexity 2022-07-24 12:48:02 -07:00
ratelim ratelimit: remove indirect dep on quanta 2023-04-08 15:47:34 -07:00
strip-ansi-escapes deps: update to clap 4 2022-10-04 08:55:31 -07:00
sync-color-schemes color-schemes: fix gogh import 2023-09-22 14:30:24 -07:00
tabout fixup images with the multiplexer 2023-03-23 21:43:28 -07:00
term Clamp cursor position reported by CPR 2023-11-22 14:56:26 -07:00
termwiz Fallback to SGR when rendering 16/256 colors when MaxColors is 16M 2023-11-04 06:13:07 -07:00
test-data fix strikethrough position for line_height != 1.0 2023-08-26 13:01:41 -07:00
umask fix(clippy): Remove unnecessary clone/to_string calls 2023-03-16 07:40:12 -07:00
vtparse Add missing license files 2022-08-17 07:19:12 -07:00
wezterm add wezterm record --cwd argument 2023-09-29 09:30:24 -07:00
wezterm-blob-leases try scaling down images that don't fit in the texture atlas 2023-05-19 08:57:38 -07:00
wezterm-client remove openssl pinning, cargo update 2023-09-04 13:31:03 -07:00
wezterm-dynamic fix a couple of new redundant clone warnings in rust 1.73 2023-10-30 07:45:59 -07:00
wezterm-font deps: ordered-float -> 4.1.0 2023-09-28 14:39:22 -07:00
wezterm-gui Adds config option for command palette rows (#4595) 2023-12-01 07:56:41 -07:00
wezterm-gui-subcommands Add serial_ports config 2023-03-29 19:05:13 -07:00
wezterm-input-types fix: Correct SUPER modifier key handling in kitty protocol (#4605) 2023-12-01 07:51:06 -07:00
wezterm-mux-server mlua 0.9 is now stable; update 2023-08-17 09:26:47 -07:00
wezterm-mux-server-impl check the zoom state before unzooming 2023-08-28 21:58:22 -07:00
wezterm-open-url remove open dependency 2023-03-19 13:12:20 -07:00
wezterm-ssh remove openssl pinning, cargo update 2023-09-04 13:31:03 -07:00
wezterm-toast-notification Fix dbus value parsing issue by upgrading zbus/zvariant crate 2023-05-30 06:27:29 -07:00
wezterm-version build: revise dep graph for version changes 2023-04-08 17:03:03 -07:00
window macos: fix leak of Window and View objects 2023-10-29 18:39:30 -07:00
.cirrus.yml docs: add ubuntu 22 arm download 2023-10-04 10:27:30 -07:00
.gitignore docs: fix emoji stuff 2023-11-04 07:51:27 -07:00
.gitmodules repoint to my freetype mirror 2021-02-03 21:56:30 -08:00
.mailmap add .mailmap 2022-12-07 12:09:06 -08:00
.rustfmt.toml encoding my preferred import grouping in the rustfmt config 2022-01-17 13:50:51 -07:00
Cargo.lock cargo update 2023-11-28 07:46:54 -07:00
Cargo.toml Add vendored cairo-sys-rs crate 2023-08-20 14:59:29 -07:00
CONTRIBUTING.md Contribute docs update (#4326) 2023-09-21 17:52:26 -07:00
get-deps get-deps: support installing docs dependencies on debian 2023-11-20 16:41:50 -07:00
LICENSE.md Bundle Symbols Nerd Font Mono 2022-01-16 16:04:35 -07:00
mkdocs_macros.py make the default front_end=WebGpu 2023-04-17 18:00:51 -07:00
PRIVACY.md Add PRIVACY policy/statement 2023-08-17 08:59:53 -07:00
README-DISTRO-MAINTAINER.md fonts: remove last resort font 2022-09-15 08:23:58 -07:00
README.md Expand sponsor section of readme 2023-04-02 23:37:54 -07:00

Wez's Terminal

WezTerm Icon A GPU-accelerated cross-platform terminal emulator and multiplexer written by @wez and implemented in Rust

User facing docs and guide at: https://wezfurlong.org/wezterm/

Screenshot

Screenshot of wezterm on macOS, running vim

Installation

https://wezfurlong.org/wezterm/installation

Getting help

This is a spare time project, so please bear with me. There are a couple of channels for support:

  • You can use the GitHub issue tracker to see if someone else has a similar issue, or to file a new one.
  • Start or join a thread in our GitHub Discussions; if you have general questions or want to chat with other wezterm users, you're welcome here!
  • There is a Matrix room via Element.io for (potentially!) real time discussions.

The GitHub Discussions and Element/Gitter rooms are better suited for questions than bug reports, but don't be afraid to use whichever you are most comfortable using and we'll work it out.

Supporting the Project

If you use and like WezTerm, please consider sponsoring it: your support helps to cover the fees required to maintain the project and to validate the time spent working on it!

Read more about sponsoring.