Wez Furlong
14fb432529
docs: cross link the bell related configs
...
refs: #3
2021-09-26 19:01:58 -07:00
Wez Furlong
70ab5e7712
implement beeps for Windows
...
refs: #3
2021-09-26 13:50:57 -07:00
Wez Furlong
72cb110b65
add audible_bell config option
...
This allows using the system beep sound, currently only on macos.
refs: #3
2021-09-26 12:55:19 -07:00
Benoit de Chezelles
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
0c1ad718d0
add visual bell
...
refs: #3
2021-09-25 12:40:22 -07:00
Wez Furlong
2337c06c0f
gui: new bell event for running lua when the bell is rung
...
This commit adjusts the the window event routing/queuing so that
a queued event can capture a pane_id other than the focused pane.
Since we only allow one queued instance of a given named event in a
window, a consequence of this is that multiple bell events coming
from different panes at the same time may race and the loser's
event will be dropped. We log a warning in that case.
refs: #3
2021-09-23 08:22:01 -07:00
Wez Furlong
4c8ccf8efc
Add Multiple key assignment
...
refs: https://github.com/wez/wezterm/pull/1091
2021-09-04 13:01:34 -07:00
Wez Furlong
bc4ed3735d
Add SendKey key assignment
...
refs: https://github.com/wez/wezterm/pull/1091
2021-09-03 12:07:17 -07:00
Wez Furlong
aaa9e3562d
docs: tweak get_appearance docs a little
2021-09-03 09:11:00 -07:00
Daniel Poulin
0acda5852d
Simply GNOME Wayland appearance documentation and implementation
2021-09-03 09:04:16 -07:00
Daniel Poulin
343727f4df
Document workaround for get_appearance on GNOME Wayland
2021-09-03 09:04:16 -07:00
Wez Furlong
8f030522f7
docs: update custom_block_glyphs since version for latest release
...
refs: https://github.com/wez/wezterm/issues/1025
2021-08-16 07:54:26 -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
5aa4abbac4
docs: fixup gradient table
2021-08-13 23:09:09 -07:00
Wez Furlong
e234ea7933
gradients: add presets
2021-08-13 22:41:31 -07:00
Wez Furlong
615b5b3966
gui: support radial gradients
2021-08-13 17:38:33 -07:00
Wez Furlong
d9e0340a94
gui: add some randomness to gradients to avoid banding
2021-08-13 13:35:55 -07:00
Wez Furlong
cbfb6d59c5
added new window_background_gradient config option
2021-08-12 23:08:38 -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
6345caccb0
docs: fix table
2021-07-25 09:16:55 -07:00
Wez Furlong
6ef039a726
docs: changelog and more info on custom block glyphs
...
closes : #584
2021-07-25 09:11:39 -07:00
Wez Furlong
613bc5a4f1
docs: fix some broken links/typos
2021-07-25 08:46:10 -07:00
Wez Furlong
50c3e171c6
docs: text_blink_rate
...
refs: #904
2021-07-25 08:43:03 -07:00
Wez Furlong
b95317241c
docs: fix missing pane parameter in format-window-title-event
...
closes : #974
2021-07-25 08:32:50 -07:00
Sandro
4a8c4d1c30
docs/term: add information to make it work with WSL ( #936 )
...
* docs/term: add information to make it work with WSL
* Adapt recent changes that automatically set WSLENV, add info on how to install terminfo with nixpkgs
* Apply suggestions from code review
Co-authored-by: Wez Furlong <wez@wezfurlong.org>
2021-07-21 08:05:14 -07:00
Cédric Schieli
77261ac374
Allow styling of the whole new tab button
2021-07-18 19:11:12 -07:00
Wez Furlong
adc0ff276f
docs: show how to switch color schemes for dark/light mode changes
...
refs: #806
2021-07-18 15:28:04 -07:00
Wez Furlong
a697b30223
window: add xsettings support on X11 systems
...
This allows reading xsettings which contain information about
both the active theme as well as the DPI.
refs: #947
2021-07-18 12:54:52 -07:00
Wez Furlong
88a2162823
docs for wayland window_frame config options
...
closes #761
2021-07-17 09:37:13 -07:00
Wez Furlong
ac5199c216
config: add bypass_mouse_reporting_modifiers option
...
This allows changing eg: SHIFT to ALT for bypassing mouse reporting.
refs: https://github.com/wez/wezterm/issues/911
2021-07-11 22:02:23 -07:00
Wez Furlong
cc19aaca9f
revise skip_close_confirmation_for_processes_named for Windows
...
closes : #843
2021-06-10 07:39:00 -07:00
Wez Furlong
cb4da18021
key assignment and docs for ShowDebugOverlay
...
refs: https://github.com/wez/wezterm/issues/641
2021-05-30 19:56:11 -07:00
Wez Furlong
db45238769
improve exit_behavior messaging
...
The status information now explains the exit status and the
exit_behavior, as well as links to the docs on exit_behavior.
refs: https://github.com/wez/wezterm/issues/795
2021-05-15 08:32:29 -07:00
Kerfuffle
258038cd16
docs: Correct Lua example for PasteFrom action. ( #773 )
2021-05-09 06:54:09 -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
Frieder Bluemle
0b84df38db
Fix docs typos
2021-05-02 19:44:29 -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
04c083ee8a
docs: for use_cap_height_to_scale_fallback_fonts option
2021-05-01 19:50:31 -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
d176af9c30
tidy up format-tab-title, add tab_max_width parameter
...
refs: https://github.com/wez/wezterm/issues/647
2021-04-26 21:43:30 -07:00
Wez Furlong
be9c60bfc8
removed tab_bar_style options in favor of format-tab-title
...
refs: https://github.com/wez/wezterm/issues/647
2021-04-26 20:16:47 -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
3028756ccb
add tab_bar_at_bottom config option
...
closes: https://github.com/wez/wezterm/issues/278
2021-04-25 20:49:48 -07:00
Wez Furlong
8ce376753f
round out quick select mode
...
* Make alphabet and patterns configurable
* add docs
* Enhance scrollback search to support regex captures so that
searching for eg: `fo(o)` will select the last `o` in `foo`.
refs: https://github.com/wez/wezterm/issues/732
2021-04-25 16:27:39 -07:00
Wez Furlong
87677a73bf
Add support for iTerm2's SetUserVar escape
...
This doesn't propagate across wezterm's mux protocol
at this time.
refs: https://github.com/wez/wezterm/issues/647
https://iterm2.com/documentation-scripting-fundamentals.html#setting-user-defined-variables
2021-04-25 14:30:06 -07:00
Wez Furlong
1cb2856223
add hover parameter to format-tab-title
...
refs: https://github.com/wez/wezterm/issues/647
2021-04-25 13:53:06 -07:00
Wez Furlong
a69447fc2a
nominally support toast notif timeouts
...
I've built this on linux, which doesn't respect the timeout.
I've made speculative changes that should build on mac and windows,
but that don't plumb the timeout functionality on those systems
as of yet.
refs: #619
2021-04-25 08:52:43 -07:00
Wez Furlong
2c89e47f9e
add force_reverse_video_cursor option
...
refs: https://github.com/wez/wezterm/issues/706
2021-04-24 21:16:58 -07:00
Wez Furlong
09e101c268
add format-tab-title event
...
refs: https://github.com/wez/wezterm/issues/647
2021-04-24 17:59:39 -07:00
Wez Furlong
e3fcdc9f36
add format-window-title event
...
This provides a flexible way for users to customize what gets
shown in the window title bar.
closes: https://github.com/wez/wezterm/pull/603
2021-04-24 16:47:26 -07:00
Wez Furlong
d705886b53
Add pane_focus_follows_mouse
...
closes: https://github.com/wez/wezterm/issues/600
2021-04-23 22:17:33 -07:00
Wez Furlong
657ed92d82
add swallow_mouse_click_on_pane_focus option
...
refs: https://github.com/wez/wezterm/issues/724
2021-04-23 22:17:06 -07:00
Wez Furlong
115fb1e6d4
docs: mention window width/height
...
refs: #256
2021-04-23 17:45:55 -07:00
Wez Furlong
2a79d2506d
docs: fix typo
...
closes: https://github.com/wez/wezterm/issues/700
2021-04-17 11:57:48 -07:00
Wez Furlong
1b12b0a23d
fonts: improve font_rules behavior
...
We now always append the synthetic rules to the those in the config,
and include rules for generating half-bright font selection.
2021-04-15 09:43:24 -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
e5665e80a1
add window:toast_notification method
...
refs: https://github.com/wez/wezterm/issues/619
2021-04-11 22:01:06 -07:00
Wez Furlong
406d1044fa
fonts: restore messaging about missing glyphs
...
Now that all platforms know whether the system fallbacks
covered the requested glyph range, it is reasonable to
restore the configuration error window to advise the user
if they are missing fonts for the text they want to display.
refs: https://github.com/wez/wezterm/issues/671
2021-04-10 21:35:58 -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
dcf41d7338
docs: freetype_render_target
...
refs: #639
2021-04-08 15:52:06 -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
Glenn Waters
5c7e07bb60
Update docs/config/lua/window/get_dimensions.md
...
Co-authored-by: Wez Furlong <wez@wezfurlong.org>
2021-04-07 19:00:28 -07:00
Glenn Waters
84a9cd6da3
Create get_dimensions.md
...
Missing document.
Was not sure how to populate "Since" from the git has. Here is the commit: ba5d50ba9e
2021-04-07 19:00:28 -07:00
Wez Furlong
a1aa6e3d6c
docs: try to steer away from Allsorts shaper
...
It isn't finished, and I've seen a few people try to use it.
Make it clearer that they probably shouldn't use it.
refs: https://github.com/wez/wezterm/issues/66
refs: https://github.com/wez/wezterm/issues/587
2021-04-07 08:51:32 -07:00
Wez Furlong
7be590ecc0
docs: update for 20210404-112810-b63a949d release
2021-04-04 11:30:58 -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
2dfba9aff7
docs: fix CLTR -> CTRL typo
...
closes : #625
2021-04-03 05:05:07 -07:00
Wez Furlong
4a3e0615f5
tweak ActivateLastTab and add a changelog entry for it
...
refs: https://github.com/wez/wezterm/pull/610
2021-04-02 09:29:52 -07:00
Alex Gartrell
ee4b4b598c
Add ActivateLastTab command
...
This replicates `last-window` in tmux. To pull this off, I
deliberately store the last tab whenever I'm activating a new one or
spawning a new one. I had to do this explicitly rather than hooking
set_active, because we end up setting the active tab briefly for some
common operations like moving a tab.
2021-04-02 09:14:59 -07:00
Wez Furlong
0643e8b0ed
add window:get_selection_text_for_pane
...
refs: https://github.com/wez/wezterm/issues/575
2021-03-25 22:10:29 -07:00
Wez Furlong
3cf7c9c3c2
refine skip_close_confirmation_for_processes_named to look at proc tree
...
That means that we won't be fooled by a shell with a backgrounded
editor.
refs: https://github.com/wez/wezterm/issues/562
2021-03-22 21:34:10 -07:00
Wez Furlong
4d4fa35557
skip_close_confirmation_for_processes_named now also works on macos
...
refs: https://github.com/wez/wezterm/issues/562
2021-03-22 12:57:36 -07:00
Wez Furlong
ad4b3b4648
add skip_close_confirmation_for_processes_named option
...
Currently only respected on linux.
refs: https://github.com/wez/wezterm/issues/562
2021-03-22 12:42:46 -07:00
Wez Furlong
7ace4d1efb
docs: clarify how to disable per-tab close prompts
...
https://github.com/wez/wezterm/issues/562
2021-03-22 11:51:56 -07:00
Wez Furlong
22522dc39e
render more symbol/icon/emoji at double width by default
...
Default `allow_square_glyphs_to_overflow_width="WhenFollowedBySpace"`,
and expand its meaning from mostly square glyphs to glyphs that are
also wider than they are tall.
refs: https://github.com/wez/wezterm/issues/565
2021-03-22 11:36:45 -07:00
Wez Furlong
46227a741f
docs: update for version 20210314-114017-04b7cedd
2021-03-14 11:55:12 -07:00
Wez Furlong
9ddc2da625
docs: document styling the tab bar elements
...
refs: https://github.com/wez/wezterm/issues/500
2021-03-12 09:23:00 -08:00
Wez Furlong
f6c37ae371
increase default font size to 12 points
2021-03-10 19:43:02 -08:00
Wez Furlong
da2239f1be
docs: fixup screenshot links
...
refs: #500
2021-03-10 19:32:23 -08:00
Wez Furlong
d853be02ad
docs: for the new status bar feature
...
refs: https://github.com/wez/wezterm/issues/500
2021-03-10 19:29:17 -08:00
Wez Furlong
fc3ebcedc1
docs: improve SEO for finding how to specify window size
2021-03-10 00:12:28 -08: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
8f3b8586b0
docs: changelog for https://github.com/wez/wezterm/issues/515
...
closes: https://github.com/wez/wezterm/issues/515
closes: https://github.com/wez/wezterm/issues/523
2021-03-09 21:13:17 -08:00
Benoit de Chezelles
abcc73fd22
Extract doc of treat_left_ctrlalt_as_altgr and leave a reference
2021-03-07 12:52:03 -08:00
Wez Furlong
ec12eed180
docs: migrate misc.md to individual config pages
2021-03-07 00:10:28 -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
014acf1a4a
add docs for window decoration stuff
2021-03-06 11:32:15 -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
522d4ad814
make exit_behavior = "CloseOnCleanExit" the default
...
It seems generally useful and non-intrusive, so do that.
2021-02-28 12:01:07 -08:00
Wez Furlong
0597684ebd
Render custom block glyphs
...
As explained in the docs included in this commit, ideally this
wouldn't be needed, but due to a long-standing hinting bug in
freetype <https://gitlab.freedesktop.org/freetype/freetype/-/issues/761 >
it seems most expedient to just render our own block glyphs,
so that's what this does!
refs: #433
2021-02-28 09:43:26 -08:00
Wez Furlong
db08b8c1dc
add window:set_config_overrides lua method
...
This commit expands on the prior commits to introduce the concept
of per-window configuration overrides.
Each TermWindow maintains json compatible object value holding
a map of config key -> config value overrides.
When the window notices that the config has changed, the config
file is loaded, the CLI overrides (if any) are applied, and then
finally the per-window overrides, before attempting to coerce
the resultant lua value into a Config object.
This mechanism has some important constraints:
* Only data can be assigned to the overrides. Closures or special
lua userdata object handles are not permitted. This is because
the lifetime of those objects is tied to the lua context in which
they were parsed, which doesn't really exist in the context of
the window.
* Only simple keys are supported for the per-window overrides.
That means that trying to override a very specific field of
a deeply structured value (eg: something like `font_rules[1].italic = false`
isn't able to be expressed in this scheme. Instead, you would
need to assign the entire `font_rules` key. I don't anticipate
this being a common desire at this time; if more advance manipulations
are required, then I have some thoughts on an event where arbitrary
lua modifications can be applied.
The implementation details are fairly straight-forward, but in testing
the two examplary use cases I noticed that some hangovers from
supporting overrides for a couple of font related options meant that the
window-specific config wasn't being honored. I've removed the code that
handled those overrides in favor of the newer more general CLI option
override support, and threaded the config through to the font code.
closes : #469
closes : #329
2021-02-27 14:53:19 -08:00