Skip to content

Commit

Permalink
Should commit these
Browse files Browse the repository at this point in the history
  • Loading branch information
Babkock committed Nov 3, 2023
1 parent 195ce8b commit a6de2d9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
1 change: 1 addition & 0 deletions network/http.c
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,7 @@ int main(int argc, char *argv[]) {
close(childfd);
}

close(parentfd);
return 0;
}

7 changes: 0 additions & 7 deletions x/README.org
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,6 @@ void print_modifiers(uint32_t mask) {

[[https://gitlab.com/Babkock/learning/-/blob/master/x/fc.c][This small program]] returns a file path for fonts matching the given FontConfig syntax. Compile with =-lfontconfig=.

*** =fc.c=

- Usage: =./fc "font name"=

- Example: =./fc "SpaceMono Nerd Font"=


** XFT/Freetype

[[https://gitlab.com/Babkock/learning/-/blob/master/x/xft.c][This fancy example]] uses FontConfig syntax to load a font, then prints a string with it in three different colors.
Expand Down

0 comments on commit a6de2d9

Please sign in to comment.