Wez Furlong
f175c5f6c0
add wezterm.get_builtin_color_schemes()
2021-12-29 09:20:12 -07:00
Wez Furlong
668d41ad5d
quickselect: add QuickSelectArgs and helpers for opening urls
...
This commit expands quick select mode so that you can trigger it
with distinct sets of patterns (eg: urls on one key assignment,
hashes on a different key assignment), different alphabets,
and lastly, the option to perform a different action from
the default copy action.
You can pair this with `action_callback` to run lua code to
do something with the selected text.
This commit also adds `wezterm.open_with`, a helper function
for opening documents/URLs.
refs: #846
refs: #1362
2021-12-23 10:55:44 -07:00
Wez Furlong
b40f65c25e
termwiz: s/Fuschia/Fuchsia/g
...
closes : #1407
2021-12-21 20:38:59 -07:00
Wez Furlong
dd150131b7
fonts: allow setting harfbuzz and freetype options per-font
...
`wezterm.font` and `wezterm.font_with_fallback` can now specify
harfbuzz_features and freetype load/render target and flags as
options on a per-font basis.
This allows you to do things such as adjust shaping (eg: ligatures) or
rendering (eg: disable bitmaps, or adjust hinting) for a single font in
a fallback rather than globally for all fonts.
2021-12-20 21:56:59 -07:00
Wez Furlong
56c3a56f46
docs: update nightly refs to new release tag
2021-12-04 08:34:58 -07:00
Wez Furlong
32d18905cc
Add wezterm.background_child_process
2021-10-17 10:37:47 -07:00
Benoit de Chezelles and Wez Furlong
1f9a213e2c
Update docs/config/lua/wezterm/action_callback.md
...
Co-authored-by: Wez Furlong <wez@wezfurlong.org >
2021-09-25 15:42:08 -07:00
Benoit de Chezelles
317772fe8f
lua: Add wezterm.action_callback to help define key callbacks
2021-09-25 15:42:08 -07:00
Wez Furlong
10812c936d
docs: update for new 20210814-124438-54e29167 release
2021-08-14 14:15:05 -07:00
Wez Furlong
ab6c4777cb
config: add wezterm.gradient_colors
2021-08-13 23:52:32 -07:00
Wez Furlong
40cb141ad7
docs: for add_to_config_reload_watch_list
...
refs: #989
2021-08-10 20:44:49 -07:00
Wez Furlong
0e9d86f9f9
lua: print -> log_info
...
Make print equivalent to log_info.
Improve the various log functions so that all of their arguments
are considered.
refs: https://github.com/wez/wezterm/issues/641
2021-05-03 09:19:52 -07:00
Wez Furlong
fbcea3a2f4
docs: update for 20210502-154244-3f7122cb
2021-05-02 16:13:32 -07:00
Wez Furlong
3d70949d1b
docs: fix typo
2021-05-02 07:29:43 -07:00
Wez Furlong
82d825ab37
split padding out from truncation
...
This makes these functions a bit more composable!
Heads up @jankatins; this is a breaking change (for the better!)
refs: https://github.com/wez/wezterm/issues/647
2021-05-01 18:26:53 -07:00
Wez Furlong
c4dc358282
add truncate_left_to_width
...
refs: #647
2021-04-27 06:23:19 -07:00
Wez Furlong
7e996950f6
add wezterm.truncate_to_width
...
refs: https://github.com/wez/wezterm/issues/647
2021-04-26 22:27:12 -07:00
Wez Furlong
0f2f3734d9
add wezterm.column_width
...
refs: https://github.com/wez/wezterm/issues/647
2021-04-26 20:10:27 -07:00
Wez Furlong
776aedf97e
fonts: allow specifying weight/stretch/italic for each fallback font
2021-04-12 22:30:55 -07:00
Wez Furlong
438b7540ba
docs: typo
2021-04-09 22:05:16 -07:00
Wez Furlong
21ce3f3262
docs: clean up the font documentation
...
Migrate information into the relevant config option pages, and
instead summarize with a demonstration of configuring the font.
For wezterm.font, there's now an expanded discussion on naming
and matching fonts.
closes: https://github.com/wez/wezterm/issues/560
2021-04-09 21:52:25 -07:00
Wez Furlong
99fc3ee3cd
fonts: rename width/FontWidth to stretch/FontStretch
...
This terminology is consistent with that used in CSS to describe
this same property of the font.
2021-04-09 12:00:18 -07:00
Wez Furlong
43ea2f192a
Allow matching font weight and font width in wezterm.font
...
refs: https://github.com/wez/wezterm/issues/655
2021-04-08 15:42:53 -07:00
Wez Furlong
b63a949df8
config: fix wezterm.config_dir, add wezterm.config_file
...
refs: https://github.com/wez/wezterm/discussions/635#discussioncomment-567968
2021-04-04 08:53:50 -07:00
Wez Furlong
46227a741f
docs: update for version 20210314-114017-04b7cedd
2021-03-14 11:55:12 -07:00
Wez Furlong
229df874b7
docs: break out events into their own pages
...
Take the existing open-uri docs and move to their own page.
Add docs for the new window events.
2021-03-09 21:50:48 -08:00
Wez Furlong
90eb69f68a
docs: add wezterm.battery_info docs with an example
...
refs: https://github.com/wez/wezterm/issues/500
2021-03-06 16:42:31 -08:00
Wez Furlong
ff8bda29e3
lua: add wezterm.strftime
...
refs: https://github.com/wez/wezterm/issues/500
2021-03-02 09:52:54 -08:00
Wez Furlong
565a4c69d5
lua: add wezterm.format function
...
The intent is to use this to compose text for a configurable tab bar.
refs: https://github.com/wez/wezterm/issues/500
2021-03-02 09:52:54 -08:00
Wez Furlong
62e14efcb3
lua: add log_info and log_warn
2021-03-02 09:52:54 -08:00
Wez Furlong
386032bdee
docs: fix custom event example
2021-01-01 20:07:46 -08:00
Benoit de Chezelles
eee40f7d17
Update permute_any_mods.md
2020-11-23 17:22:21 -08:00
Benoit de Chezelles
2963520a1e
Update permute_any_or_no_mods.md
2020-11-23 17:22:21 -08:00
Benoit de Chezelles
d4d3e70a9b
Update permute_any_or_no_mods.md
2020-11-23 14:52:45 -08:00
Wez Furlong
bb49ecca98
docs: update for 20201031-154415-9614e117 release
2020-10-31 15:51:08 -07:00
Wez Furlong
ab6cda81aa
Add permute_any_mods and permute_any_or_no_mods functions
...
refs: #288
2020-10-10 15:11:21 -07:00
Wez Furlong
809bb53387
docs: split out the KeyAssignment enum variants
...
This makes the individual functions a bit easier to discover,
and a lot easier to link to.
2020-10-10 08:45:13 -07:00
Wez Furlong
b009e8c0d4
docs: add docs for the window object
...
refs: #225
2020-10-09 23:34:35 -07:00
Wez Furlong
ccc0bf824d
docs: lua: add undocumented wezterm.XXX items
...
Adds docs for some of the newer lua scripting functions.
refs: #222
refs: #223
refs: #225
2020-10-09 22:50:46 -07:00
Wez Furlong
6e0836d11a
docs: Make it easier to split out docs into multiple pages
2020-10-09 22:03:59 -07:00