forked from enlightenment/terminology
termpty_init/shutdown() are now called globally
SVN revision: 83360
This commit is contained in:
parent
85e60bbf74
commit
d9d7318041
|
@ -1229,7 +1229,9 @@ main_term_new(Win *wn, Config *config, const char *cmd,
|
|||
if (!term) return NULL;
|
||||
|
||||
if (!config) abort();
|
||||
|
||||
|
||||
termpty_init();
|
||||
|
||||
term->wn = wn;
|
||||
term->hold = hold;
|
||||
term->config = config;
|
||||
|
@ -2051,6 +2053,8 @@ remote:
|
|||
main_win_free(wn);
|
||||
}
|
||||
|
||||
termpty_shutdown();
|
||||
|
||||
config_shutdown();
|
||||
eina_log_domain_unregister(_log_domain);
|
||||
_log_domain = -1;
|
||||
|
|
|
@ -2358,8 +2358,6 @@ _smart_del(Evas_Object *obj)
|
|||
sd->glayer = NULL;
|
||||
ecore_imf_shutdown();
|
||||
|
||||
termpty_shutdown();
|
||||
|
||||
_parent_sc.del(obj);
|
||||
}
|
||||
|
||||
|
@ -2564,7 +2562,6 @@ termio_add(Evas_Object *parent, Config *config, const char *cmd, Eina_Bool login
|
|||
ELM_GESTURE_STATE_ABORT, _smart_cb_gest_zoom_abort,
|
||||
obj);
|
||||
|
||||
termpty_init();
|
||||
|
||||
sd->pty = termpty_new(cmd, login_shell, cd, w, h, config->scrollback);
|
||||
sd->pty->cb.change.func = _smart_pty_change;
|
||||
|
|
Loading…
Reference in New Issue