  void TerminalDisplay::drawCursor(QPainter& painter,
                                   const QRect& rect,
                                   const QColor& foregroundColor,
-@@ -674,10 +675,23 @@ void TerminalDisplay::drawCursor(QPainter& painter,
+@@ -678,6 +679,25 @@ void TerminalDisplay::drawCursor(QPainter& painter,
+                          cursorRect.top(),
+                          cursorRect.left(),
                           cursorRect.bottom());
- 
-     } else if (_cursorShape == Enum::IBeamCursor) {
--        painter.drawLine(cursorRect.left(),
++
++    } else if (_cursorShape == Enum::CustomCursor) {
 +
 +    	int centre = cursorRect.left() + ((cursorRect.right() - cursorRect.left()) / 2);
 +        painter.drawLine(centre,
-                          cursorRect.top(),
--                         cursorRect.left(),
++                         cursorRect.top(),
 +                         centre,
-                          cursorRect.bottom());
++                         cursorRect.bottom());
 +
 +	centre = cursorRect.top() + ((cursorRect.bottom() - cursorRect.top()) / 3);
 +    	std::cout << "Top = " << cursorRect.top() << "\n" << 

     }
 }
 

 
     /** This enum describes the behavior of triple click action . */
diff --git a/src/TerminalDisplay.cpp b/src/TerminalDisplay.cpp
index 2235047..e75a381 100644
--- a/src/TerminalDisplay.cpp
+++ b/src/TerminalDisplay.cpp
@@ -632,6 +632,7 @@ void TerminalDisplay::drawBackground(QPainter& painter, const QRect& rect, const
