mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-09-23 17:57:32 +03:00
clear: add -x, -T and -V examples (#3684)
Co-authored-by: Zlatan Vasović <zlatanvasovic@gmail.com> Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
This commit is contained in:
parent
c982084302
commit
de1d2d2249
@ -2,6 +2,18 @@
|
||||
|
||||
> Clears the screen of the terminal.
|
||||
|
||||
- Clear the screen (equivalent to typing Control-L when using the bash shell):
|
||||
- Clear the screen (equivalent to pressing Control-L in Bash shell):
|
||||
|
||||
`clear`
|
||||
|
||||
- Clear the screen but keep the terminal's scrollback buffer:
|
||||
|
||||
`clear -x`
|
||||
|
||||
- Indicate the type of terminal to clean (defaults to the value of the environment variable `TERM`):
|
||||
|
||||
`clear -T {{type_of_terminal}}`
|
||||
|
||||
- Show the version of `ncurses` used by `clear`:
|
||||
|
||||
`clear -V`
|
||||
|
Loading…
Reference in New Issue
Block a user