Merge pull request #72 from rjl6789/master

correct colorname declaration
This commit is contained in:
Luke Smith 2019-05-09 07:30:37 -04:00 committed by GitHub
commit be3ea16279
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -107,6 +107,7 @@ static const char *colorname[] = {
/* more colors can be added after 255 to use with DefaultXX */
"black", /* 256 -> bg */
"white", /* 257 -> fg */
"#add8e6", /* 258 -> cursor */
};
@ -114,8 +115,8 @@ static const char *colorname[] = {
* Default colors (colorname index)
* foreground, background, cursor, reverse cursor
*/
unsigned int defaultfg = 15;
unsigned int defaultbg = 0;
unsigned int defaultfg = 257;
unsigned int defaultbg = 256;
static unsigned int defaultcs = 15;
static unsigned int defaultrcs = 0;

2
refresh.sh Executable file
View File

@ -0,0 +1,2 @@
#!/bin/sh
sudo make uninstall && make clean && make && sudo make install