Added support for Terminal.cursorStartOfLine() and clearToEndOfLine().

This commit is contained in:
Adam Murdoch
2012-08-04 17:18:16 +10:00
parent ec9d8d7bf8
commit e0c31aa176
7 changed files with 69 additions and 6 deletions

View File

@@ -72,4 +72,18 @@ public interface Terminal {
* @throws NativeException On failure.
*/
Terminal cursorDown(int count) throws NativeException;
/**
* Moves the cursor to the start of the current line.
*
* @throws NativeException On failure.
*/
Terminal cursorStartOfLine() throws NativeException;
/**
* Clears characters from the cursor position to the end of the current line.
*
* @throws NativeException On failure.
*/
Terminal clearToEndOfLine() throws NativeException;
}