aboutsummaryrefslogtreecommitdiffstats
path: root/src/ffi.rs
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2016-04-27 04:07:58 -0400
committerJesse Luehrs <doy@tozt.net>2016-04-27 04:07:58 -0400
commit61df526acf4687b6b393b1e6c435e613a5dc7db3 (patch)
tree55d71e5f160bb03129cd948f2cb2434f2ed65cfb /src/ffi.rs
parentcf1692f0950329279b8b4d9d3d8cc46f974c496e (diff)
downloadvt100-rust-61df526acf4687b6b393b1e6c435e613a5dc7db3.tar.gz
vt100-rust-61df526acf4687b6b393b1e6c435e613a5dc7db3.zip
add most of the rest of the basic screen accessors
Diffstat (limited to 'src/ffi.rs')
-rw-r--r--src/ffi.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ffi.rs b/src/ffi.rs
index daab278..a939c0d 100644
--- a/src/ffi.rs
+++ b/src/ffi.rs
@@ -38,6 +38,14 @@ extern "C" {
col: libc::c_int,
) -> *mut types::CellImpl;
+ pub fn vt100_wrapper_screen_hide_cursor(screen: *mut types::ScreenImpl) -> libc::c_int;
+ pub fn vt100_wrapper_screen_application_keypad(screen: *mut types::ScreenImpl) -> libc::c_int;
+ pub fn vt100_wrapper_screen_application_cursor(screen: *mut types::ScreenImpl) -> libc::c_int;
+ pub fn vt100_wrapper_screen_mouse_reporting_press(screen: *mut types::ScreenImpl) -> libc::c_int;
+ pub fn vt100_wrapper_screen_mouse_reporting_press_release(screen: *mut types::ScreenImpl) -> libc::c_int;
+ pub fn vt100_wrapper_screen_mouse_reporting_button_motion(screen: *mut types::ScreenImpl) -> libc::c_int;
+ pub fn vt100_wrapper_screen_mouse_reporting_sgr_mode(screen: *mut types::ScreenImpl) -> libc::c_int;
+ pub fn vt100_wrapper_screen_bracketed_paste(screen: *mut types::ScreenImpl) -> libc::c_int;
pub fn vt100_wrapper_cell_is_wide(cell: *mut types::CellImpl) -> libc::c_int;
pub fn vt100_wrapper_cell_attrs_bold(cell: *mut types::CellAttrs) -> libc::c_int;
pub fn vt100_wrapper_cell_attrs_italic(cell: *mut types::CellAttrs) -> libc::c_int;