diff options
author | Jesse Luehrs <doy@tozt.net> | 2016-04-27 04:07:58 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2016-04-27 04:07:58 -0400 |
commit | 61df526acf4687b6b393b1e6c435e613a5dc7db3 (patch) | |
tree | 55d71e5f160bb03129cd948f2cb2434f2ed65cfb /src/ffi.c | |
parent | cf1692f0950329279b8b4d9d3d8cc46f974c496e (diff) | |
download | vt100-rust-61df526acf4687b6b393b1e6c435e613a5dc7db3.tar.gz vt100-rust-61df526acf4687b6b393b1e6c435e613a5dc7db3.zip |
add most of the rest of the basic screen accessors
Diffstat (limited to 'src/ffi.c')
-rw-r--r-- | src/ffi.c | 40 |
1 files changed, 40 insertions, 0 deletions
@@ -1,6 +1,46 @@ #include <stdlib.h> #include "../libvt100/src/vt100.h" +int vt100_wrapper_screen_hide_cursor(struct vt100_screen *screen) +{ + return screen->hide_cursor; +} + +int vt100_wrapper_screen_application_keypad(struct vt100_screen *screen) +{ + return screen->application_keypad; +} + +int vt100_wrapper_screen_application_cursor(struct vt100_screen *screen) +{ + return screen->application_cursor; +} + +int vt100_wrapper_screen_mouse_reporting_press(struct vt100_screen *screen) +{ + return screen->mouse_reporting_press; +} + +int vt100_wrapper_screen_mouse_reporting_press_release(struct vt100_screen *screen) +{ + return screen->mouse_reporting_press_release; +} + +int vt100_wrapper_screen_mouse_reporting_button_motion(struct vt100_screen *screen) +{ + return screen->mouse_reporting_button_motion; +} + +int vt100_wrapper_screen_mouse_reporting_sgr_mode(struct vt100_screen *screen) +{ + return screen->mouse_reporting_sgr_mode; +} + +int vt100_wrapper_screen_bracketed_paste(struct vt100_screen *screen) +{ + return screen->bracketed_paste; +} + int vt100_wrapper_cell_is_wide(struct vt100_cell *cell) { return cell->is_wide; |