forked from enlightenment/terminology
parent
7c4a989279
commit
044a7f98b9
|
@ -293,7 +293,7 @@ _split_split(Split *sp, Eina_Bool horizontal)
|
||||||
config = config_fork(sp->term->config);
|
config = config_fork(sp->term->config);
|
||||||
if (termio_cwd_get(sp->term->term, buf, sizeof(buf))) wdir = buf;
|
if (termio_cwd_get(sp->term->term, buf, sizeof(buf))) wdir = buf;
|
||||||
sp2->term = main_term_new(sp->wn, config,
|
sp2->term = main_term_new(sp->wn, config,
|
||||||
NULL, EINA_FALSE, wdir,
|
NULL, config->login_shell, wdir,
|
||||||
80, 24, EINA_FALSE);
|
80, 24, EINA_FALSE);
|
||||||
sp2->terms = eina_list_append(sp2->terms, sp2->term);
|
sp2->terms = eina_list_append(sp2->terms, sp2->term);
|
||||||
_term_resize_track_start(sp2);
|
_term_resize_track_start(sp2);
|
||||||
|
@ -367,7 +367,7 @@ main_new_with_dir(Evas_Object *win, Evas_Object *term, const char *wdir)
|
||||||
config = config_fork(sp->term->config);
|
config = config_fork(sp->term->config);
|
||||||
termio_size_get(sp->term->term, &w, &h);
|
termio_size_get(sp->term->term, &w, &h);
|
||||||
sp->term = main_term_new(sp->wn, config,
|
sp->term = main_term_new(sp->wn, config,
|
||||||
NULL, EINA_FALSE, wdir,
|
NULL, config->login_shell, wdir,
|
||||||
w, h, EINA_FALSE);
|
w, h, EINA_FALSE);
|
||||||
sp->terms = eina_list_append(sp->terms, sp->term);
|
sp->terms = eina_list_append(sp->terms, sp->term);
|
||||||
_term_resize_track_start(sp);
|
_term_resize_track_start(sp);
|
||||||
|
|
Loading…
Reference in New Issue