Revert "Added title setting (Requires tcell pull!) and optimized tab display." (#581)

This commit is contained in:
Zachary Yedidia
2017-03-03 11:43:44 -05:00
committed by GitHub
parent a537c584d0
commit ab74e56a40
2 changed files with 1 additions and 6 deletions

View File

@@ -976,8 +976,6 @@ func (v *View) DisplayCursor(x, y int) {
// Display renders the view, the cursor, and statusline
func (v *View) Display() {
//Set title to the name of the current buffer
screen.SetTitle("micro: " + v.Buf.GetName())
v.DisplayView()
// Don't draw the cursor if it is out of the viewport or if it has a selection
if (v.Cursor.Y-v.Topline < 0 || v.Cursor.Y-v.Topline > v.Height-1) || v.Cursor.HasSelection() {