1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-29 00:21:57 +03:00
Commit Graph

7463 Commits

Author SHA1 Message Date
Frank Ebel
385c874514 docs: update Arch install location 2023-10-01 11:43:02 -07:00
evoshy
0af9366d15 Update appearance.md
typo at line 266
2023-10-01 11:42:13 -07:00
Wez Furlong
5e0fd1a06e
add wezterm record --cwd argument
refs: https://github.com/wez/wezterm/issues/4333
2023-09-29 09:30:24 -07:00
Wez Furlong
845fa5d4ae
add notification_handling option to control suppression
refs: https://github.com/wez/wezterm/issues/3727
2023-09-28 18:05:18 -07:00
Wez Furlong
c75f20f21c
deps: ordered-float -> 4.1.0
closes: https://github.com/wez/wezterm/pull/4338
2023-09-28 14:39:22 -07:00
Wez Furlong
ded7f673f4
cargo update 2023-09-28 11:38:20 -07:00
Wez Furlong
6198e3dcc9
termwiz: TeenyString: use heap string when col width > 2
This isn't currently possible, but
https://github.com/wez/wezterm/issues/4223 will introduce that
possibility.  This commit causes width > 2 to "overflow" into
the heap-stored variant.

Sequences that are long enough to produce a column width > 2 are
likely to already be long enough in bytes to overlow into the
heap-stored variant anyway.
2023-09-28 11:13:59 -07:00
Wez Furlong
0f894d7948
docs: changelog for #4257 2023-09-22 14:31:51 -07:00
Wez Furlong
bae73d34b5
color-schemes: fix gogh import
The cursor colors in gogh weren't imported quite right; this
fixes things up so that we use the background color together
with the cursor color from the scheme.

refs: https://github.com/wez/wezterm/issues/4257
2023-09-22 14:30:24 -07:00
Wez Furlong
23a0d56849
color schemes: fixup sync process, and sync
We could have duplicates in the raw data. Deal with that.
2023-09-22 14:30:23 -07:00
Sean Sullivan
5161de59fe expose pen attribute on terminal info 2023-09-22 12:21:15 -07:00
Wez Furlong
821f9f98a7
docs: changelog for #4226 #4227 2023-09-22 06:47:17 -07:00
Danielkonge
525080be89
Additions to the InputSelector (resolving #4226) (#4227)
* First step towards implementing #4226.
* Added InputSelector config options.
* Format + fix to prepare for PR to resolve #4226.
* Accept suggestion about pop().
* Fix typo.
* Tried fixing stuff from the feedback.
* Fixed typo.
* Fixed small mistake in docs.
* Small fix for label computation.
* Allow uppercase alphabet + add fuzzy_description.
* Minor cleanup.
* Use more standard alphabet (without j/k).
* Fixed docs after previous commit.
* Added key assignments to docs.
* Apply suggestions from code review (2 remaining)
* Updated arcording to feedback (added tests).
* Update docs (1 thing left to do)
* Added version details to the key table.

---------

Co-authored-by: Wez Furlong <wez@wezfurlong.org>
2023-09-22 06:42:43 -07:00
Wez Furlong
a061bdeac4
q-a template: try removing the title 2023-09-22 06:37:08 -07:00
Danielkonge
3141131014
Contribute docs update (#4326)
* Update CONTRIBUTING.md

* Apply suggestions from code review

Co-authored-by: Wez Furlong <wez@wezfurlong.org>

* Update with new build method.

---------

Co-authored-by: Wez Furlong <wez@wezfurlong.org>
2023-09-21 17:52:26 -07:00
Wez Furlong
4adbe89cb3
fixup contributing
I merged the PR too soon!
2023-09-21 15:13:42 -07:00
Danielkonge
5cadb09247 Apply suggestions from code review
Co-authored-by: Wez Furlong <wez@wezfurlong.org>
2023-09-21 15:03:32 -07:00
Danielkonge
032d5b7b8b Update CONTRIBUTING.md 2023-09-21 15:03:32 -07:00
Wez Furlong
7193d64a20
refine q&a template 2023-09-21 10:12:53 -07:00
Wez Furlong
881e65902a
tweak q-a.yml 2023-09-21 10:11:32 -07:00
Wez Furlong
bd2dd75e0a
tweak q-a.yml 2023-09-21 10:10:55 -07:00
Wez Furlong
f7fff3e79e
fixup yml 2023-09-21 10:10:11 -07:00
Wez Furlong
24f195234c
Update q-a.yml 2023-09-21 10:08:14 -07:00
Wez Furlong
6867269565
Add template for q&a 2023-09-21 10:05:54 -07:00
Wez Furlong
50cc44a53a
font-config: failed to resolve clusters like 3065,2686
Root cause is that font-config will try to find a single font that
satisfies a query like `fc-list ':charset=2686 3065'`, but if that
is impossible, there are no results.

The resolution is to split the query up and look for each individual
codepoint.

refs: #4310
2023-09-20 18:54:17 -07:00
Wez Furlong
f1be33939b
deps: update harfbuzz to 8.2.1 2023-09-20 17:59:05 -07:00
Wez Furlong
33e727b074
Respond to DECRQM 2027 - grapheme clustering
closes: https://github.com/wez/wezterm/issues/4320
2023-09-20 14:48:05 -07:00
Wez Furlong
bf545f1cc1
deps: update toml 0.7 -> 0.8 2023-09-20 11:33:04 -07:00
Wez Furlong
3e2b96755c
docs: clarify font_size
closes: #4303
2023-09-20 11:27:49 -07:00
Wez Furlong
48ad2e0f08
cargo update 2023-09-20 11:25:53 -07:00
Wez Furlong
65a9f95c75
docs: changelog for #4322 #3996 2023-09-20 11:24:02 -07:00
Haochen Tong
44c914c230 wayland: update SCTK to fix startup on newer compositors 2023-09-20 11:22:04 -07:00
Wez Furlong
70931f58f1
fonts: improve categorization, selection of pcf fonts
Match out bold, semicondensed etc. from the full name.

Allow matching a font based on the full path to the font as
an alternative, because pcf fonts tend to have terrible
metadata and many pixel variants.

refs: https://github.com/wez/wezterm/issues/4256
2023-09-11 07:58:10 -07:00
Wez Furlong
b902034eac
build-docs: unconditionally install social plugin deps
otherwise mkdocs will fail to run
2023-09-10 22:14:17 -07:00
Wez Furlong
a95111342c
ci: actions/checkout@v3 -> v4
closes: #4273
2023-09-10 22:14:17 -07:00
Wez Furlong
b103725003
cargo update 2023-09-10 20:49:12 -07:00
Wez Furlong
914f18b19c
remove openssl pinning, cargo update
refs: https://github.com/sfackler/rust-openssl/issues/1645
2023-09-04 13:31:03 -07:00
Wez Furlong
99c9613966
docs and derived files for zoom-pane
refs: #4160
2023-08-28 22:04:14 -07:00
Quan Tong
f4db68637d check the zoom state before unzooming 2023-08-28 21:58:22 -07:00
Quan Tong
8f845f9b47 simplify 2023-08-28 21:58:22 -07:00
Quan Tong
cb2178e7d7 add zoom-pane subcommand 2023-08-28 21:58:22 -07:00
Wez Furlong
a103b6d97a
fix CloseCurrentPane leaving a stranded pane in a tab
Repro for this issue was:

```console
$ WEZTERM_LOG=mux=trace,info ./target/debug/wezterm -n --config 'exit_behavior="CloseOnCleanExit"'
```

Then:

* Split left/right
* CloseCurrentPane

refs: #4030
2023-08-28 07:28:23 -07:00
Wez Furlong
cb0e1599ac
cairo: fix build on freebsd 2023-08-28 06:51:45 -07:00
Wez Furlong
ed92b30370
cargo update 2023-08-28 06:40:02 -07:00
Wez Furlong
d35f067deb
hbwrap: fix compilation on aarch64
refs: https://github.com/wez/wezterm/issues/4213
2023-08-28 06:39:14 -07:00
Wez Furlong
c1b7ba2f35
fix warning in latest rust compiler 2023-08-28 06:39:14 -07:00
Wez Furlong
551af58637
font: refactor: extract ClusterResolver to file scope 2023-08-28 06:39:14 -07:00
Wez Furlong
ce7e5a2799
font: hbwrap: add harfbuzz caret API 2023-08-28 06:39:14 -07:00
near129
b53a385a39 include shell completion 2023-08-27 09:31:08 -07:00
Wez Furlong
2c95b98447
text cursor glyph renders at native cell size
Previously we'd use the scaled-by-line-height-and-cell-width dimensions
for the text cursor, leading to oddly dimensioned block cursors when
`line_height` or `cell_width` were configured.

This commit captures the native cell dimensions into the RenderMetrics
which makes it feasible for the glyph and sprite rendering logic to
reason about it.

The cursor rendering now renders at the native size and position by
using a transform to scale and translate into the correct spot.

We could potentially use the same technique for eg: braille or
other non-drawing characters
(https://github.com/wez/wezterm/issues/1957) although that is more
complex than just this commit.

refs: https://github.com/wez/wezterm/issues/2882
2023-08-26 14:11:13 -07:00