Skip to content

Commit

Permalink
add IsTainted function
Browse files Browse the repository at this point in the history
  • Loading branch information
jesseduffield committed May 18, 2019
1 parent 9f871b6 commit 77d7618
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions view.go
Original file line number Diff line number Diff line change
Expand Up @@ -609,3 +609,8 @@ func Loader() cell {
chr: chr,
}
}

// IsTainted tells us if the view is tainted
func (v *View) IsTainted() bool {
return v.tainted
}

0 comments on commit 77d7618

Please sign in to comment.