diff --git a/cmd/micro/tab.go b/cmd/micro/tab.go index be1f364f..bbdd7eb0 100644 --- a/cmd/micro/tab.go +++ b/cmd/micro/tab.go @@ -2,7 +2,6 @@ package main import ( "sort" - "path/filepath" "github.com/zyedidia/tcell" ) @@ -90,9 +89,7 @@ func TabbarString() (string, map[int]int) { } else { str += " " } - //To address issue 556.2 - _, name := filepath.Split(t.views[t.CurView].Buf.GetName()) - str += name + str += t.views[t.CurView].Buf.GetName() if i == curTab { str += "]" } else { diff --git a/cmd/micro/view.go b/cmd/micro/view.go index 10e724ce..1c3b42ba 100644 --- a/cmd/micro/view.go +++ b/cmd/micro/view.go @@ -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() {