1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-30 14:49:26 +03:00
Commit Graph

7555 Commits

Author SHA1 Message Date
Wez Furlong
9fc89e621f
de-fang paste payloads by removing bracketed paste sequences from them
refs: https://github.com/wez/wezterm/issues/4765
2024-01-08 18:17:22 -07:00
Wez Furlong
8023948647
remove unused pub use 2024-01-08 05:51:39 -07:00
Wez Furlong
eeafc45b72
cargo update 2024-01-08 05:51:14 -07:00
Wez Furlong
4921f139d3
Revert "build(deps): bump actions/deploy-pages from 2 to 4"
This reverts commit 8d19fc632f.

It doesn't work and it's not clear why.
2024-01-03 14:30:05 -07:00
Wez Furlong
b2f157eba9
ci: maybe fix pages action 2024-01-03 13:37:20 -07:00
dependabot[bot]
68d9cfc6ad build(deps): bump the all group with 6 updates
Bumps the all group with 6 updates:

| Package | From | To |
| --- | --- | --- |
| [k9](https://github.com/aaronabramov/k9) | `0.11.6` | `0.12.0` |
| [anyhow](https://github.com/dtolnay/anyhow) | `1.0.78` | `1.0.79` |
| [serde](https://github.com/serde-rs/serde) | `1.0.193` | `1.0.194` |
| [serde_json](https://github.com/serde-rs/json) | `1.0.109` | `1.0.110` |
| [clap_complete](https://github.com/clap-rs/clap) | `4.4.5` | `4.4.6` |
| [thiserror](https://github.com/dtolnay/thiserror) | `1.0.53` | `1.0.56` |


Updates `k9` from 0.11.6 to 0.12.0
- [Commits](https://github.com/aaronabramov/k9/commits)

Updates `anyhow` from 1.0.78 to 1.0.79
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.78...1.0.79)

Updates `serde` from 1.0.193 to 1.0.194
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.193...v1.0.194)

Updates `serde_json` from 1.0.109 to 1.0.110
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.109...v1.0.110)

Updates `clap_complete` from 4.4.5 to 4.4.6
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.4.5...clap_complete-v4.4.6)

Updates `thiserror` from 1.0.53 to 1.0.56
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.53...1.0.56)

---
updated-dependencies:
- dependency-name: k9
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: anyhow
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: serde_json
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: clap_complete
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: thiserror
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-03 10:29:24 -07:00
dependabot[bot]
dfe3d342eb build(deps): bump actions/setup-python from 4 to 5
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-03 08:28:19 -07:00
dependabot[bot]
8d19fc632f build(deps): bump actions/deploy-pages from 2 to 4
Bumps [actions/deploy-pages](https://github.com/actions/deploy-pages) from 2 to 4.
- [Release notes](https://github.com/actions/deploy-pages/releases)
- [Commits](https://github.com/actions/deploy-pages/compare/v2...v4)

---
updated-dependencies:
- dependency-name: actions/deploy-pages
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-03 08:24:47 -07:00
Wez Furlong
e5274decb0
docs: fix list indenting for the background config
mkdocs is much more strict about the indentation level than mdbook
2024-01-03 08:14:03 -07:00
Wez Furlong
a58e7580d2
cargo update 2023-12-31 19:12:42 -07:00
Wez Furlong
ff2743748c
fix dependabot syntax 2023-12-28 08:47:19 -07:00
Wez Furlong
583483fdc9
cargo update 2023-12-28 08:39:35 -07:00
Wez Furlong
7a94d9ec80
maybe tell dependebot to batch cargo updates 2023-12-28 08:37:06 -07:00
Wez Furlong
84ae00c868
cargo update 2023-12-21 21:46:26 -07:00
Daniel Kongsgaard
e3cd2e93d0 Apply suggestions from code review
Co-authored-by: Wez Furlong <wez@wezfurlong.org>
2023-12-03 12:40:28 -07:00
Danielkonge
254034c512 Add wezterm.to_string function 2023-12-03 12:40:28 -07:00
Wez Furlong
bb871b88fd
docs: changelog for #4578 2023-12-02 08:51:47 -07:00
Gregory Anders
960538c267 wezterm.terminfo: add terminator to Sync capability
I'm not sure if this is strictly necessary, but according to the
terminfo specification [1], a conditional string should be terminated
with `%;`.

[1]: https://man7.org/linux/man-pages/man5/terminfo.5.html
2023-12-02 08:51:00 -07:00
Wez Furlong
ac230873ff
docs: changelog for #4420 2023-12-02 08:40:02 -07:00
Quan Tong
f2a9c06247 honor the window_close_confirmation config option when quitting 2023-12-02 08:38:42 -07:00
Wez Furlong
15489249b8
docs: fixup list in ActivateCommandPalette 2023-12-02 08:33:42 -07:00
Wez Furlong
5190c3e6cb
ValuePrinter: improve array style table detection
before:

```
> { a = {'a'}, 1, {2} }
[
    1,
    [
        2,
    ],
]
```

after:

```
> { a = {'a'}, 1, {2} }
{
    "a": [
        "a",
    ],
    1: 1,
    2: [
        2,
    ],
}
```

refs: https://github.com/wez/wezterm/pull/4336
2023-12-02 08:05:47 -07:00
Wez Furlong
6d58e5196b
ValuePrinter: improve recursion handling
We now print the type and pointer address for recursive entries,
rather than eliding them and emitting a warning.

refs: https://github.com/wez/wezterm/pull/4336
2023-12-01 12:13:52 -07:00
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
Wez Furlong
9fc8dc09f2
docs: changelog for #4595 2023-12-01 07:58:37 -07:00
Andrew Stone
28ac1c845b
Adds config option for command palette rows (#4595)
Co-authored-by: Wez Furlong <wez@wezfurlong.org>
2023-12-01 07:56:41 -07:00
Wez Furlong
d7a2e258d0
docs: changelog for #4605 2023-12-01 07:52:09 -07:00
Gabriel Nützi
089e07152a
fix: Correct SUPER modifier key handling in kitty protocol (#4605) 2023-12-01 07:51:06 -07:00
Wez Furlong
90ca1117bc
cargo update 2023-11-28 07:46:54 -07:00
Wez Furlong
f07cc83716
ci: s/fedora36/fedora39/
CI just failed to build fedora36, which is now EOL, and fedora39 is out.
2023-11-24 20:20:04 -07:00
Wez Furlong
6a58a5ce94
deps: harfbuzz -> 8.3.0 2023-11-22 17:41:38 -07:00
dependabot[bot]
7e64774e82 build(deps): bump dessant/lock-threads from 4 to 5
Bumps [dessant/lock-threads](https://github.com/dessant/lock-threads) from 4 to 5.
- [Release notes](https://github.com/dessant/lock-threads/releases)
- [Changelog](https://github.com/dessant/lock-threads/blob/main/CHANGELOG.md)
- [Commits](https://github.com/dessant/lock-threads/compare/v4...v5)

---
updated-dependencies:
- dependency-name: dessant/lock-threads
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-22 15:00:40 -07:00
Wez Furlong
ada7e8e05b
cargo update 2023-11-22 14:59:25 -07:00
Wez Furlong
d419d9a543
docs: changelog for #4564 2023-11-22 14:57:06 -07:00
Wez Furlong
f4fb227e11
docs: changelog for #4565 2023-11-22 14:56:35 -07:00
Luis Javier Merino Morán
97e001c93c Clamp cursor position reported by CPR
From esctest:
CHATests.test_CHA_OutOfBoundsLarge
CUPTests.test_CUP_OutOfBoundsParams
HVPTests.test_HVP_OutOfBoundsParams
2023-11-22 14:56:26 -07:00
Luis Javier Merino Morán
769840d2cb DECRQCRA: treat uninitialized cells as spaces
The concept of uninitialized cells in wezterm is not the same as that on
VT520 or that on xterm, so treat them as spaces, at least when asking
for the checksum of a single cell, which is what esctest does.
2023-11-22 14:38:11 -07:00
Adam Simpkins
fde926722f get-deps: support installing docs dependencies on debian
The python3-pip and mkdocs packages are required to run the
ci/build-docs.sh script.
2023-11-20 16:41:50 -07:00
Adam Simpkins
7b4d165c84 docs: fix minor variable name mismatch in the docs 2023-11-20 16:15:51 -07:00
Wez Furlong
6006525835
cargo update 2023-11-17 15:11:05 -07:00
Wez Furlong
721fbdf5dc
docs: changelog for #4563 2023-11-12 17:16:50 -07:00
Luis Javier Merino Morán
c4654d8bf4 Make RIS also clear the alternate screen
xterm clears the alternate screen on RIS since #383. VTE and konsole
already did that.

From esctest:
RISTests.test_RIS_ExitAltScreen
2023-11-12 17:09:34 -07:00
Wez Furlong
f0e3eecba6
cargo update 2023-11-07 08:25:18 -07:00
Wez Furlong
edf17fc020
docs: changelog for #4534 #3962 2023-11-07 08:24:51 -07:00
Luis Javier Merino Morán
f880188ae4 Default G1 to ASCII
As per DEC STD-070 3.6.4

refs: https://github.com/wez/wezterm/issues/3962
2023-11-07 08:22:51 -07:00
Wez Furlong
d680953321
ci: use COPR for opensuse from now on
The images available to us on GH actions frequently break and I'm
tired of troubleshooting it and getting spammed by failed build
notifications around it.

I'm just going to use newer COPR builds for this platform from
now on.
2023-11-04 09:41:53 -07:00
Wez Furlong
ee73f26436
docs: fix emoji stuff
fec90ae04b didn't fix this the way I
thought it would.

refs: https://github.com/wez/wezterm/issues/4489
2023-11-04 07:51:27 -07:00
Jun Wu
2a022399bb Fallback to SGR when rendering 16/256 colors when MaxColors is 16M
When MaxColors is 16M, the "palette index" is treated by "setaf" as a true color, not the classic 256 color. Users of `PaletteIndex` expects 256 color and let's fallback to SGR.

For example, setaf on tmux-direct is:

    setaf=\E[%?%p1%{8}%<%t3%p1%d%e38:2::%p1%{65536}%/%d:%p1%{256}%/%{255}%&%d:%p1%{255}%&%d%;m,

It only special treats the first 8 colors (which means `rgb(0,0,0..8)` cannot be rendered with `setaf`).
2023-11-04 06:13:07 -07:00
Jun Wu
3f1a120074 Detect true color set by max_colors
Terminals like `xterm-direct` has max_colors set to 16M. They should be treated as supporting true colors.
2023-11-04 06:12:08 -07:00
Wez Furlong
7590968257
fix a couple of new redundant clone warnings in rust 1.73 2023-10-30 07:45:59 -07:00