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
2023-10-02 16:35:42 -07:00
2023-11-24 20:20:04 -07:00
2023-09-29 09:30:24 -07:00
2019-06-08 21:28:11 -07:00
2023-07-30 20:09:15 -07:00
2022-05-21 21:09:11 -07:00
2023-11-24 20:20:04 -07:00
2023-04-18 08:34:39 -07:00
2023-11-22 17:41:38 -07:00
2023-12-01 07:58:37 -07:00
2023-08-20 10:42:38 -07:00
2022-10-04 08:55:31 -07:00
2023-03-23 21:43:28 -07:00
2022-08-17 07:19:12 -07:00
2023-09-29 09:30:24 -07:00
2023-09-28 14:39:22 -07:00
2023-03-19 13:12:20 -07:00
2023-10-04 10:27:30 -07:00
2023-11-04 07:51:27 -07:00
2021-02-03 21:56:30 -08:00
2022-12-07 12:09:06 -08:00
2023-11-28 07:46:54 -07:00
2023-08-20 14:59:29 -07:00
2023-09-21 17:52:26 -07:00
2022-01-16 16:04:35 -07:00
2023-08-17 08:59:53 -07:00
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.

S
Description
The agentic terminal: a WezTerm fork with LLeMbas built in
Readme MIT
316 MiB
0 Stars 2 Watchers 0 Forks
Languages
Rust 97.7%
Python 1%
Shell 0.9%
Nix 0.2%