1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-28 01:06:37 +03:00
wezterm/docs/config
Wez Furlong 957cc592a6 wezterm: allow using {} (an empty table) to represent None in lua
`wezterm.action{ExtendSelectionToMouseCursor=nil}` doesn't produce an
`ExtendSelectionToMouseCursor(None)` value because a table value of
`nil` is equivalent to that key not being present and lua sees just
an empty table.

Instead we need to accept `ExtendSelectionToMouseCursor={}` a valid
way to indicate an `Option::None` which is what this commit does.

Due to weirdness that I haven't had a chance to run down, passing
that value through `wezterm.action` doesn't produce the intended
value, so I'm adjusting the docs to show to specify an alternative
syntax for this as part of this commit.

refs: https://github.com/wez/wezterm/issues/282
2020-09-27 10:45:11 -07:00
..
appearance.markdown docs: update link to upstream color schemes 2020-06-20 19:06:06 -07:00
files.markdown docs: update for lua configuration syntax 2020-04-06 16:32:16 -07:00
font-shaping.markdown docs: update for lua configuration syntax 2020-04-06 16:32:16 -07:00
fonts.markdown Add bold_brightens_ansi_colors configuration option 2020-07-18 09:02:56 -07:00
keys.markdown wezterm: allow using {} (an empty table) to represent None in lua 2020-09-27 10:45:11 -07:00
launch.markdown docs: update for latest release tag 2020-06-20 16:07:21 -07:00
lua.markdown docs: fill in version in place of "nightly" for some newer features 2020-05-03 18:24:55 -07:00
misc.markdown wezterm: add tab_max_width config option 2020-08-29 10:45:01 -07:00