diff options
author | Jesse Luehrs <doy@tozt.net> | 2016-04-27 01:01:35 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2016-04-27 01:01:35 -0400 |
commit | f0486657754c485f8211c6d00f9bf5ba6953dd67 (patch) | |
tree | 3c293fbc49aad51a93055493decc0c11ce2c8874 /src/screen.rs | |
parent | 2a7896d40b13022fff084c551a52bd3f32a90935 (diff) | |
download | vt100-rust-f0486657754c485f8211c6d00f9bf5ba6953dd67.tar.gz vt100-rust-f0486657754c485f8211c6d00f9bf5ba6953dd67.zip |
process should actually take a byte array
Diffstat (limited to 'src/screen.rs')
-rw-r--r-- | src/screen.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/screen.rs b/src/screen.rs index 69eb6f1..da96a6a 100644 --- a/src/screen.rs +++ b/src/screen.rs @@ -34,7 +34,7 @@ impl Screen { unsafe { ffi::vt100_screen_set_scrollback_length(screen_impl, rows) }; } - pub fn process(&mut self, s: &str) -> u64 { + pub fn process(&mut self, s: &[u8]) -> u64 { let Screen(screen_impl) = *self; unsafe { ffi::vt100_screen_process_string( |