add termio_pty_get()
This commit is contained in:
parent
e06f4ee3a3
commit
b8cd00dadd
|
@ -5036,3 +5036,12 @@ termio_selection_exists(const Evas_Object *obj)
|
||||||
EINA_SAFETY_ON_NULL_RETURN_VAL(sd, EINA_FALSE);
|
EINA_SAFETY_ON_NULL_RETURN_VAL(sd, EINA_FALSE);
|
||||||
return sd->pty->selection.is_active;
|
return sd->pty->selection.is_active;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Termpty *
|
||||||
|
termio_pty_get(Evas_Object *obj)
|
||||||
|
{
|
||||||
|
Termio *sd = evas_object_smart_data_get(obj);
|
||||||
|
EINA_SAFETY_ON_NULL_RETURN_VAL(sd, NULL);
|
||||||
|
|
||||||
|
return sd->pty;
|
||||||
|
}
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "col.h"
|
#include "col.h"
|
||||||
|
#include "termpty.h"
|
||||||
|
|
||||||
Evas_Object *termio_add(Evas_Object *parent, Config *config, const char *cmd, Eina_Bool login_shell, const char *cd, int w, int h);
|
Evas_Object *termio_add(Evas_Object *parent, Config *config, const char *cmd, Eina_Bool login_shell, const char *cd, int w, int h);
|
||||||
void termio_win_set(Evas_Object *obj, Evas_Object *win);
|
void termio_win_set(Evas_Object *obj, Evas_Object *win);
|
||||||
|
@ -43,4 +44,6 @@ void termio_debugwhite_set(Evas_Object *obj, Eina_Bool dbg);
|
||||||
void termio_miniview_hide(Evas_Object *obj);
|
void termio_miniview_hide(Evas_Object *obj);
|
||||||
Evas_Object *termio_miniview_show(Evas_Object *obj, int x, int y, int w, int h);
|
Evas_Object *termio_miniview_show(Evas_Object *obj, int x, int y, int w, int h);
|
||||||
|
|
||||||
|
Termpty *termio_pty_get(Evas_Object *obj);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue