aboutsummaryrefslogtreecommitdiffstats
path: root/src/ffi.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/ffi.rs')
-rw-r--r--src/ffi.rs10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/ffi.rs b/src/ffi.rs
index 47281ba..1b984b5 100644
--- a/src/ffi.rs
+++ b/src/ffi.rs
@@ -22,6 +22,16 @@ extern "C" {
outlen: *mut libc::size_t,
);
+ pub fn vt100_screen_set_window_size(
+ screen: *mut types::ScreenImpl,
+ rows: libc::c_int,
+ cols: libc::c_int,
+ );
+ pub fn vt100_screen_set_scrollback_length(
+ screen: *mut types::ScreenImpl,
+ rows: libc::c_int,
+ );
+
pub fn vt100_wrapper_rows(screen: *mut types::ScreenImpl) -> libc::c_int;
pub fn vt100_wrapper_cols(screen: *mut types::ScreenImpl) -> libc::c_int;
}