Skip to content

Instantly share code, notes, and snippets.

@afaur
Created May 23, 2016 13:59
Show Gist options
  • Save afaur/abcbaecd548f983ae1c65faa6252e2f0 to your computer and use it in GitHub Desktop.
Save afaur/abcbaecd548f983ae1c65faa6252e2f0 to your computer and use it in GitHub Desktop.
Resize a terminal window using a command. Helpful when you like to keep fullscreen terminal after adding a new tab or adjusting font size (cmd -/+).
// Make sure top left corner is positioned before running
// What the command means:
// `\e[8; Height;Width t`
printf '\e[8;55;213t'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment