Spec-Zone.ru › Nushell

clear for platform

Clear the terminal screen.

Signature

> clear {flags}

Flags

  • --keep-scrollback, -k: Do not clear the scrollback history.

Input/output types:

input output
nothing nothing

Examples

Clear the terminal.

> clear

Clear the terminal but not its scrollback history.

> clear --keep-scrollback

Notes

By default clears the current screen and the off-screen scrollback buffer.

Copyright © 2019–2026 The Nushell Project DevelopersLicensed under the MIT License.
https://www.nushell.sh/commands/docs/clear.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API