diff options
Diffstat (limited to 'alacritty_terminal/src/grid/row.rs')
-rw-r--r-- | alacritty_terminal/src/grid/row.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/alacritty_terminal/src/grid/row.rs b/alacritty_terminal/src/grid/row.rs index bd5411aa..7846a7ae 100644 --- a/alacritty_terminal/src/grid/row.rs +++ b/alacritty_terminal/src/grid/row.rs @@ -130,8 +130,9 @@ impl<T> Row<T> { self.inner = vec; } + /// Check if all cells in the row are empty. #[inline] - pub fn is_empty(&self) -> bool + pub fn is_clear(&self) -> bool where T: GridCell, { |