mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-11 04:27:49 -05:00
main: cleanup
This commit is contained in:
parent
9a31c1ed96
commit
2eaa258e11
1 changed files with 0 additions and 7 deletions
7
main.c
7
main.c
|
|
@ -276,7 +276,6 @@ main(int argc, char *const *argv)
|
|||
|
||||
case 'f':
|
||||
tll_free_and_free(conf.fonts, free);
|
||||
//tll_push_back(conf.fonts, strdup(optarg));
|
||||
for (char *font = strtok(optarg, ","); font != NULL; font = strtok(NULL, ",")) {
|
||||
|
||||
/* Strip leading spaces */
|
||||
|
|
@ -349,10 +348,6 @@ main(int argc, char *const *argv)
|
|||
},
|
||||
.vt = {
|
||||
.state = 1, /* STATE_GROUND */
|
||||
.attrs = {
|
||||
//.foreground = conf.colors.fg,
|
||||
//.background = conf.colors.bg
|
||||
},
|
||||
},
|
||||
.colors = {
|
||||
.default_fg = conf.colors.fg,
|
||||
|
|
@ -521,8 +516,6 @@ main(int argc, char *const *argv)
|
|||
conf.height = max(conf.height, term.cell_height);
|
||||
render_resize(&term, conf.width, conf.height);
|
||||
|
||||
wl_display_dispatch_pending(term.wl->display);
|
||||
|
||||
{
|
||||
int fork_pipe[2];
|
||||
if (pipe2(fork_pipe, O_CLOEXEC) < 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue