diff options
Diffstat (limited to 'src/ansi.rs')
-rw-r--r-- | src/ansi.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ansi.rs b/src/ansi.rs index 26a342e4..9e682cd3 100644 --- a/src/ansi.rs +++ b/src/ansi.rs @@ -909,7 +909,7 @@ impl<'a, H, W> vte::Perform for Performer<'a, H, W> 'm' => { // Sometimes a C-style for loop is just what you need let mut i = 0; // C-for initializer - if args.len() == 0 { + if args.is_empty() { handler.terminal_attribute(Attr::Reset); return; } |