Wez Furlong
73a1c3b0d3
docs: add --help output pages to the CLI reference
2023-03-21 18:44:26 -07:00
Wez Furlong
3e33610840
minor update to zsh completion
2023-03-21 18:42:17 -07:00
Wez Furlong
30f09fd1f6
docs: improve color scheme page titles
2023-03-21 17:00:53 -07:00
Wez Furlong
cd4a41dfcb
docs: simplify scheme aliases a bit more
2023-03-21 14:48:06 -07:00
Wez Furlong
d2253e8e09
docs: fix handling of color scheme aliases
2023-03-21 14:44:13 -07:00
Wez Furlong
b34f5e1a73
docs: boost font page in search index
2023-03-21 12:53:54 -07:00
Wez Furlong
5a738446e2
docs: allow search to find 'changelog'
...
It's a little bit inelegant, but the mkdocs-material folks seem to have
a nicer solution in the works, so this will do for now.
closes: https://github.com/wez/wezterm/issues/3305
refs: https://github.com/squidfunk/mkdocs-material/issues/3174
2023-03-21 12:29:32 -07:00
Wez Furlong
369c8b01bb
docs: use strict mode to hopefully catch invalid links
2023-03-21 09:34:06 -07:00
Wez Furlong
19c9bc84f2
docs: simplify templating of install pages
2023-03-21 09:31:49 -07:00
Wez Furlong
0b83c97427
keys: avoid scrolling to bottom when CapsLock is pressed
...
refs: https://github.com/wez/wezterm/issues/3306
2023-03-21 09:17:24 -07:00
Wez Furlong
601e32e625
rustfmt
2023-03-21 08:08:03 -07:00
Wez Furlong
d983e53e91
linuxbrew: 20 rather than 22
...
refs: #3308
2023-03-21 08:07:00 -07:00
Wez Furlong
c781be3124
wezterm-ssh: fix parsing of proxycommand
...
refs: https://github.com/wez/wezterm/issues/3307
2023-03-21 08:04:59 -07:00
David Martos
b4f4264b00
Update wezterm-linuxbrew.rb.template
...
Hello, I encountered some issues when upgrading to latest version with Homebrew. I believe this would be the required change is that correct?
Or should 20.04 be used? 22.04 is LTS as well.
2023-03-21 07:49:43 -07:00
Wez Furlong
40081cb573
docs: update a bunch of since lines to new macro
2023-03-20 22:54:27 -07:00
Wez Furlong
3b8551e03c
docs: update nightly features -> current release
2023-03-20 21:29:43 -07:00
Wez Furlong
e8805a9db0
docs: fix fedora37 stable download link
2023-03-20 17:58:30 -07:00
Wez Furlong
7f7a417f84
docs: update linux releases
2023-03-20 17:54:30 -07:00
Wez Furlong
8c4d71d516
Docs: update changelog for 20230320-124340-559cb7b0 release
2023-03-20 17:36:39 -07:00
Wez Furlong
559cb7b0a7
schemes: we now allow using any of the alias names, so refine docs
2023-03-20 12:43:40 -07:00
Wez Furlong
dd8d4a04f4
sync from https://github.com/folke/tokyonight.nvim
...
Pull in the enhanced scheme that includes wezterm metadata and colors.
Co-authored-by: Thomas Croft <103956335+thomascft@users.noreply.github.com>
closes: https://github.com/wez/wezterm/pull/3208
2023-03-20 12:42:09 -07:00
Wez Furlong
775bad32e1
sync color schemes
2023-03-20 12:25:44 -07:00
Wez Furlong
eff64feb1b
sync-color-schemes: handle renamed schemes slightly better
...
We no longer completely forget about the old incarnation,
and we now rename all historical aliases and allow their
use.
2023-03-20 12:24:00 -07:00
Wez Furlong
84fbaa83cf
sync-color-schemes: update for recent gogh schema changes
2023-03-20 11:30:12 -07:00
Wez Furlong
001a49be4c
minor optimization for single-frame animated formats
...
Use 1-day duration for the single frame when an animated
format yields only a single frame.
2023-03-20 10:14:17 -07:00
Wez Furlong
829e5c15cf
fix potential deadlock when using wezterm cli split-pane
...
refs: #1818
2023-03-20 07:44:13 -07:00
Wez Furlong
a6f857c14f
deps: update predicates for wezterm-ssh tests
2023-03-19 23:00:25 -07:00
Wez Furlong
a0ec2c18b4
ci: remove some builds
...
GH actions has been awful slow and bogged down recently,
getting in the way of work that is more important.
This commit removes a variety of alpine builds (which are
not widely used by wezterm users), and the eldest fedora
version to free up some resources.
2023-03-19 22:47:46 -07:00
dependabot[bot]
9fb07f20cd
build(deps): bump rstest from 0.16.0 to 0.17.0
...
Bumps [rstest](https://github.com/la10736/rstest ) from 0.16.0 to 0.17.0.
- [Release notes](https://github.com/la10736/rstest/releases )
- [Changelog](https://github.com/la10736/rstest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/la10736/rstest/compare/0.16.0...0.17.0 )
---
updated-dependencies:
- dependency-name: rstest
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-19 22:19:11 -07:00
Wez Furlong
96d155170e
docs: fix typo in changelog
2023-03-19 22:17:22 -07:00
Wez Furlong
7d9b842d26
docs: use snippets to make since: nightly more informative
...
... while also being less to type.
2023-03-19 22:14:05 -07:00
Wez Furlong
6b0a44eabd
docs: allow using GH issue syntax shorthands
...
Can now just use #123 without having to wrap it in an explicit
link to have it link to the GH repo.
2023-03-19 21:05:54 -07:00
Wez Furlong
51d7b28fb5
cargo update
2023-03-19 20:20:34 -07:00
dependabot[bot]
dcbc2bf2bc
build(deps): bump actions/deploy-pages from 1 to 2
...
Bumps [actions/deploy-pages](https://github.com/actions/deploy-pages ) from 1 to 2.
- [Release notes](https://github.com/actions/deploy-pages/releases )
- [Commits](https://github.com/actions/deploy-pages/compare/v1...v2 )
---
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>
2023-03-19 20:18:53 -07:00
Wez Furlong
13aefd22fe
docs: more config.something style adjustments
2023-03-19 18:36:37 -07:00
Wez Furlong
0f8146b212
docs: shift from return {} style to config.something style
...
Nudge new users towards using this style:
```lua
local config = {}
config.color_scheme = 'Batman'
return config
```
and surface how to write lua modules closer to the main section
on config files. In that lua modules section, nudge towards using
a convention similar to that of the plugin spec described in
this commit: e4ae8a844d
2023-03-19 18:26:21 -07:00
Wez Furlong
060d0f1ed4
remove open dependency
...
refs: https://github.com/wez/wezterm/issues/3288
2023-03-19 13:12:20 -07:00
Wez Furlong
f5ba73a1a2
add own open_url crate
...
The upstream open crate keeps making stuff async/blocking/not-working on
windows, so this is a step towards removing this dependency.
refs: https://github.com/wez/wezterm/issues/3288
2023-03-19 12:44:12 -07:00
Wez Furlong
e70ec47134
time: call_after accepts fractional seconds
...
I thought I'd hooked it up that way from the start, but apparently not!
refs: https://github.com/wez/wezterm/issues/3287
2023-03-19 10:29:19 -07:00
Wez Furlong
402949d787
fix split size after unzooming, when the window size is unchanged
...
refs: https://github.com/wez/wezterm/issues/3111
refs: https://github.com/wez/wezterm/issues/3068
2023-03-19 09:25:04 -07:00
Wez Furlong
7a6dce3ff0
fix hover state for retro tab bar
...
Make the math consistent between the hover logic and the render
logic.
refs: https://github.com/wez/wezterm/issues/3113
2023-03-19 09:09:54 -07:00
Jalil David Salamé Messina
d541e2e13d
fix(clippy): Remove closures where possible
...
- Removes closures and function calls for types that implement default:
```rust
// Change
let _my_str = get_str().unwrap_or(String::new);
// To
let _my_str = get_str().unwrap_or_default();
```
- Uses the `.cloned()/.copied()` methods where possible
- Use function pointer instead of simple closure
May improve performace, as closures generate more code, and this might
unlock some inlining opportunities.
2023-03-19 08:41:38 -07:00
Jalil David Salamé Messina
191aacc7d7
fix(clippy): Use faster
methods on Iterators
...
- Use `find` instead of `position(..).next()`
- Use `any` instead of `position(..).next().is_some()/.is_none()`
- Use `first/next` instead of `get(0)/nth(0)`
- Prefer `for` loops over `while let` loops on iterators
May improve performance.
2023-03-19 07:29:23 -07:00
Wouter Beeftink
1ccc6c9ce0
Convert admonition blocks to markdown equivalent
...
Note: the second block had no type specified. I picked `tip` for this one.
2023-03-19 07:25:26 -07:00
Wez Furlong
8e0f9947d2
fix time.call_after when used inside an event callback
...
```lua
local wezterm = require 'wezterm'
function user_callback_test(window, pane)
print("user_callback_test()")
wezterm.time.call_after(3, function()
print("Hello again, later")
end)
end
return {
keys = {
{ mods = 'CTRL|ALT',
key = 'u',
action = wezterm.action_callback(user_callback_test)
}
}
}
```
refs: https://github.com/wez/wezterm/issues/3026
2023-03-19 07:22:14 -07:00
Wez Furlong
4d471807c3
mouse: don't over invalidate when hovering tabs
...
refs: #3276
2023-03-19 06:35:17 -07:00
Wez Furlong
c1e9bcba5f
fix non-serde termwiz build
2023-03-18 22:21:42 -07:00
Wez Furlong
4466997b88
clean up blob storage on shutdown
...
The static OnceCell didn't run destructors, so shift to something
where we can explicitly trigger them to run and clean up the
temporary directory area.
2023-03-18 22:19:46 -07:00
Wez Furlong
344a41f944
use blob leases for decoded animation frames
...
This allows the decoder thread to live only long enough
to decode the full set of frames; we can then store the
leases in memory and pull them in only when there is
a cache miss.
refs: https://github.com/wez/wezterm/issues/3263
2023-03-18 21:55:57 -07:00
Wez Furlong
7cd0cc21bf
ImageDataType::File -> EncodedLease
...
Adopt the new blob lease layer to storing and referencing
image files.
This reduces the number of open files needed when
images are being displayed in the terminal.
refs: https://github.com/wez/wezterm/issues/3263
2023-03-18 20:32:49 -07:00