Skip to content

Toggle Animation

Toggle Animation Type

Which animation type is used during toggle up/down.

Supported values:

  • Linear
  • EaseInBack
  • EaseInCubic
  • EaseInOutSine
  • EaseInQuart
  • EaseOutBack
  • EaseOutCubic
  • EaseOutQuart

See easings.net for examples of the easings.

Defaults to EaseOutQuart.

{
    "ToggleAnimationType": "EaseOutQuart"
}

Suggested and implemented by Tim Molderez

Toggle Duration

How long it should take for the terminal to come down or go back up. This is an estimate, since because of the way the toggling works, some slow downs can happen.

Setting this to 0 makes the toggle instant.

{
    "ToggleDurationMs": 150
}

Suggested by Mike F

Toggle Mode

How the terminal actually gets toggled on- and off the screen.

Supported values:

Resize

Resizes the terminal window vertically until it is either at full size, or shrunk out of the way. This should work on any setup, but can cause some jumping of the terminal characters, such as the cursor.

Move

Moves the entire window off-screen to the top, which prevents jumping of the terminal characters, since the size of the terminal is kept constant.

This doesn't work too great with vertically-stacked monitor setups, since the terminal might be pushed off to the monitor north of the active one.

Defaults to Resize.

{
    "ToggleMode": "Resize"
}

Suggested by Mark Johnson and Scott Hanselman

Toggle Animation Frame Time

How long each frame in the toggle animation takes in milliseconds. The lower this value, the smoother the animation, though values lower than 15 are not supported and will result in a toggle taking more than the configured.

Defaults to 25.

{
    "ToggleAnimationFrameTimeMs": 25
}

Suggested by Raphael Mobis Tacla