1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-25 06:12:16 +03:00
wezterm/docs/config/lua/pane/is_alt_screen_active.md

8 lines
499 B
Markdown
Raw Normal View History

2022-07-10 06:32:53 +03:00
# `pane:is_alt_screen_active()`
*Since: nightly builds only*
Returns whether the alternate screen is active for the pane.
The alternate screen is a secondary screen that is activated by certain escape codes. The alternate screen has no scrollback, which makes it ideal for a "full-screen" terminal program like `vim` or `less` to do whatever they want on the screen without fear of destroying the user's scrollback. Those programs emit escape codes to return to the normal screen when they exit.