mirror of
https://github.com/Hopiu/micro.git
synced 2026-03-23 17:30:24 +00:00
Readded title setting. ( As per the tcell pull. ) (#600)
This commit is contained in:
parent
0e9bc0ed87
commit
aed8ba105a
1 changed files with 1 additions and 0 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue