Readded title setting. ( As per the tcell pull. )
@@ -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() {
