Skip to content

Commit

Permalink
make status line less persistent
Browse files Browse the repository at this point in the history
  • Loading branch information
laochailan committed May 13, 2016
1 parent efaaea4 commit 8e96b12
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions buffer.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ func (b *BufferStack) HandleEvent(event *termbox.Event) {
}

if event.Type == termbox.EventKey {
StatusLine = ""
if b.prompt.Active() {
cmd, args := b.prompt.HandleEvent(event)
if len(cmd) != 0 {
Expand Down

0 comments on commit 8e96b12

Please sign in to comment.