mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-09 09:09:03 -04:00
Add link to 'glyph hell'
This commit is contained in:
parent
6538fb9c08
commit
3df44a05f7
@ -366,6 +366,7 @@ up someday **FIXME**.
|
||||
* [Dark Corners of Unicode](https://eev.ee/blog/2015/09/12/dark-corners-of-unicode/)
|
||||
* [UTF-8 Decoder Capability and Stress Test](https://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-test.txt)
|
||||
* [Emoji: how do you get from U+1F355 to 🍕?](https://meowni.ca/posts/emoji-emoji-emoji/)
|
||||
* [Glyph Hell: An introduction to glyphs, as used and defined in the FreeType engine](http://chanae.walon.org/pub/ttf/ttf_glyphs.htm)
|
||||
|
||||
#### Useful man pages
|
||||
* Linux: [console_codes(4)](http://man7.org/linux/man-pages/man4/console_codes.4.html)
|
||||
|
@ -2,8 +2,8 @@
|
||||
#include <notcurses/notcurses.h>
|
||||
|
||||
typedef struct distro_info {
|
||||
const char* name;
|
||||
const char* logofile;
|
||||
const char* name; // must match 'lsb_release -i'
|
||||
const char* logofile; // kept at original aspect ratio, lain atop bg
|
||||
} distro_info;
|
||||
|
||||
static distro_info distros[] = {
|
||||
@ -96,7 +96,7 @@ ncneofetch(struct notcurses* nc){
|
||||
return 0;
|
||||
}
|
||||
|
||||
int main(int argc, const char** argv){
|
||||
int main(void){
|
||||
if(setlocale(LC_ALL, "") == NULL){
|
||||
fprintf(stderr, "Warning: couldn't set locale based off LANG\n");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user