Resize all tabs on EventResize

Fixes #552
This commit is contained in:
Zachary Yedidia
2017-02-20 13:08:14 -05:00
parent 7b03f5bab2
commit 263eec7368
2 changed files with 5 additions and 4 deletions

View File

@@ -450,9 +450,6 @@ func (v *View) HandleEvent(event tcell.Event) {
v.Buf.CheckModTime()
switch e := event.(type) {
case *tcell.EventResize:
// Window resized
tabs[v.TabNum].Resize()
case *tcell.EventKey:
// Check first if input is a key binding, if it is we 'eat' the input and don't insert a rune
isBinding := false