vte itf, bind methods to get num rows & columns

This commit is contained in:
Basile Burg 2019-04-07 17:04:38 +02:00
parent 4b2b2888f6
commit d047f36448
1 changed files with 8 additions and 1 deletions

View File

@ -94,6 +94,10 @@ var
vte_get_user_shell: function(): PChar;
vte_terminal_get_row_count: function(terminal: PVteTerminal): glong; cdecl;
vte_terminal_get_column_count: function(terminal: PVteTerminal): glong; cdecl;
function Gtk2TermLoad: Boolean;
implementation
@ -144,7 +148,10 @@ begin
'vte_terminal_paste_clipboard');
@vte_get_user_shell := GetProcAddress(Lib,
'vte_get_user_shell');
@vte_terminal_get_row_count := GetProcAddress(Lib,
'vte_terminal_get_row_count');
@vte_terminal_get_column_count:= GetProcAddress(Lib,
'vte_terminal_get_column_count');
// assume all or none
Loaded := @vte_terminal_new <> nil;