diff options
| author | Kevin Ballard <kevin@sb.org> | 2013-06-14 13:02:24 -0700 |
|---|---|---|
| committer | Kevin Ballard <kevin@sb.org> | 2013-06-14 13:03:42 -0700 |
| commit | da4e614742ea67677ed122985c1730590748d788 (patch) | |
| tree | 6254e188a5b610b2223646d61f4b81a133b8066f /src/libextra/term.rs | |
| parent | f31767df66b9468cea81a3aceb34633fad213d67 (diff) | |
Fix line lengths in terminfo
Diffstat (limited to 'src/libextra/term.rs')
| -rw-r--r-- | src/libextra/term.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libextra/term.rs b/src/libextra/term.rs index f09c00ccce2..17d80ded47f 100644 --- a/src/libextra/term.rs +++ b/src/libextra/term.rs @@ -105,7 +105,8 @@ impl Terminal { } pub fn reset(&self) { if self.color_supported { - let s = expand(*self.ti.strings.find_equiv(&("op")).unwrap(), [], &mut Variables::new()); + let mut vars = Variables::new(); + let s = expand(*self.ti.strings.find_equiv(&("op")).unwrap(), [], &mut vars); if s.is_ok() { self.out.write(s.get()); } else { |
