The lineWrapping function allows you to enable or disable line wrapping in the terminal. Line wrapping determines whether long lines of text should wrap to the next line or continue horizontally beyond the visible area.
lineWrapping <option>
Options
- enabled: Enables line wrapping.
- disabled: Disables line wrapping.
lineWrapping enabled
The printAtLine function is used to print a message on a specified line in the terminal. It allows you to position text output at a specific line number.
printAtLine <line_number> <message>
clear && printAtLine 5 "Hello, World!"
The printAtLineCol function is used to print a message starting on a specific line and column in the terminal. It allows you to position text output at a specific line and column number.
printAtLineCol <line_number> <column_number> <message>
clear && printAtLineCol 5 10 "Hello, World!"
The gotoLine function is used to move the cursor to a specific line in the terminal. It allows you to jump to a particular line number.
gotoLine <line_number>
clear && gotoLine 5
The gotoLineCol function is used to move the cursor to a specific line and column in the terminal. It allows you to position the cursor at a particular line and column number.
gotoLineCol <line_number> <column_number>
clear && gotoLineCol 5 10
moveUp
The moveUp function is used to move the cursor up a specified number of lines in the terminal.
moveUp <number_of_lines>
clear && moveUp 3
The moveDown function is used to move the cursor down a specified number of lines in the terminal.
moveDown <number_of_lines>
clear && moveDown 3
The moveLeft function is used to move the cursor left a specified number of columns in the terminal.
moveLeft <number_of_columns>
clear && moveLeft 5
The moveRight function is used to move the cursor right a specified number of columns in the terminal.
moveRight <number_of_columns>
clear && moveRight 5