From 94e95fca339ee3d36bf3fec18e484745373f769d Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Sun, 21 Aug 2022 15:27:45 -0700 Subject: [PATCH] docs: changelog for max_fps https://github.com/wez/wezterm/discussions/2419 --- docs/changelog.md | 1 + docs/config/lua/config/max_fps.md | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 docs/config/lua/config/max_fps.md diff --git a/docs/changelog.md b/docs/changelog.md index 1ba6e2db8..a7bd5fb35 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -16,6 +16,7 @@ As features stabilize some brief notes about them will accumulate here. * Color schemes: [carbonfox](colorschemes/c/index.md#carbonfox), [DanQing Light (base16)](colorschemes/d/index.md#danqing-light-base16), [SynthwaveAlpha](colorschemes/s/index.md#synthwavealpha), [SynthwaveAlpha (Gogh)](colorschemes/s/index.md#synthwavealpha-gogh) * [window_frame](config/lua/config/window_frame.md) now supports setting border size and color [#2417](https://github.com/wez/wezterm/issues/2417) * [CopyMode](copymode.md) now supports selecting and move by semantic zones. [#2346](https://github.com/wez/wezterm/issues/2346) +* [max_fps](config/lua/config/max_fps.md) option to limit maximum frame rate [#2419](https://github.com/wez/wezterm/discussions/2419) #### Changed diff --git a/docs/config/lua/config/max_fps.md b/docs/config/lua/config/max_fps.md new file mode 100644 index 000000000..664118bd2 --- /dev/null +++ b/docs/config/lua/config/max_fps.md @@ -0,0 +1,14 @@ +# max_fps = 60 + +Limits the maximum number of frames per second that wezterm will +attempt to draw. + +Defaults to `60`. + +| Environment | Supported Since | +|-------------|-----------------| +| Wayland | Ignored; instead, uses information from the compositor to schedule painting frames | +| X11 | Since: 20211204-082213-a66c61ee9 | +| macOS | Since: nightly builds only | +| Windows | Since: nightly builds only | +