NAME

scroll - optex scroll region module

SYNOPSIS

optex -Mscroll [ options -- ] command

VERSION

Version 0.99

DESCRIPTION

optex's scroll module prevents a command that produces output longer than terminal hight from causing the executed command line to scroll out from the screen.

It sets the scroll region for the output of the command it executes. The output of the command scrolls by default 10 lines from the cursor position where it was executed.

OPTIONS

--line=n

Set scroll region lines to n. Default is 10.

EXAMPLES

optex -Mscroll ping localhost

optex -Mscroll seq 100000

optex -Mscroll tail -f /var/log/system.log

optex -Mpingu -Mscroll --line 20 -- ping --pingu -i0.2 -c75 localhost

SEE ALSO

App::optex, https://github.com/kaz-utashiro/optex/

App::optex::pingu, https://github.com/kaz-utashiro/optex-pingu/

LICENSE

Copyright ©︎ 2024 Kazumasa Utashiro.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR

Kazumasa Utashiro