version 1.14, 2009/11/13 19:53:29 |
version 1.15, 2009/11/20 19:12:39 |
|
|
else |
else |
cwd = ctx->cmdclient->cwd; |
cwd = ctx->cmdclient->cwd; |
|
|
|
type = LAYOUT_TOPBOTTOM; |
|
if (data->flag_horizontal) |
|
type = LAYOUT_LEFTRIGHT; |
|
|
size = -1; |
size = -1; |
if (data->size != -1) |
if (data->size != -1) |
size = data->size; |
size = data->size; |
else if (data->percentage != -1) |
else if (data->percentage != -1) { |
size = (w->active->sy * data->percentage) / 100; |
if (type == LAYOUT_TOPBOTTOM) |
|
size = (w->active->sy * data->percentage) / 100; |
|
else |
|
size = (w->active->sx * data->percentage) / 100; |
|
} |
hlimit = options_get_number(&s->options, "history-limit"); |
hlimit = options_get_number(&s->options, "history-limit"); |
|
|
type = LAYOUT_TOPBOTTOM; |
|
if (data->flag_horizontal) |
|
type = LAYOUT_LEFTRIGHT; |
|
|
|
shell = options_get_string(&s->options, "default-shell"); |
shell = options_get_string(&s->options, "default-shell"); |
if (*shell == '\0' || areshell(shell)) |
if (*shell == '\0' || areshell(shell)) |