readline.clearLine(stream, dir)
Clears current line of given TTY stream in a specified direction. dir
should have one of following values:
-
-1
- to the left from cursor -
1
- to the right from cursor -
0
- the entire line
readline.clearLine(stream, dir)
Clears current line of given TTY stream in a specified direction. dir
should have one of following values:
-1
- to the left from cursor1
- to the right from cursor0
- the entire line
Please login to continue.