@Override
 public void handle(AeshInputStream inputStream, Document document) {
   int row = document.getLineOfOffset(document.getCursorOffset());
   int column = document.getLineOffset(row);
   String reportCursorPosition =
       ANSI.getStart() + Integer.toString(row) + SEMI_COLON + Integer.toString(column) + 'R';
   // Respond to the Device Status Report with a Cursor Position Report
   inputStream.append(reportCursorPosition);
 }
 @Override
 public void handle(Document document) {
   if ("2".equals(arguments)) {
     document.reset();
   }
 }