From aed8ba105a0a94a6a871e3bbae1d499fcc4dc31a Mon Sep 17 00:00:00 2001 From: Collin Warren Date: Sat, 29 Apr 2017 14:51:31 -0500 Subject: [PATCH] Readded title setting. ( As per the tcell pull. ) (#600) --- cmd/micro/view.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/micro/view.go b/cmd/micro/view.go index bcd5cfef..16948455 100644 --- a/cmd/micro/view.go +++ b/cmd/micro/view.go @@ -931,6 +931,7 @@ func (v *View) DisplayCursor(x, y int) { // Display renders the view, the cursor, and statusline func (v *View) Display() { + 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() {