• Log in
  • Register

linkhut
Bookmarks
tagged with:
  • screen
  • ncurses
Sort by:
  • recency
  • popularity
Order:
  • descending
  • ascending

08 Jun 26

Using the "alternate screen" in a bash script

https://stackoverflow.com/questions/11023929/using-the-alternate-screen-in-a-bash-script

You can switch to the alternate screen using this command:

$ tput smcup

And back with:

$ tput rmcup

by ludv 2 weeks ago
Tags:
  • alternate
  • screen
  • buffer
  • tui
  • interface
  • tput
  • ncurses
  • xterm
  • ansi
  • escape
  • sequenses
  • codes

Tags
Sort by:
  • label
  • usage
Order:
  • ascending
  • descending
  • alternate
  • ansi
  • buffer
  • codes
  • escape
  • interface
  • ncurses
  • screen
  • sequenses
  • tput
  • tui
  • xterm
Explore
  • Recent
  • Popular
RSS feed

linkhut is open source software. You can contribute and report issues on SourceHut at ~mlb/linkhut (v0.1.6)