ncpp_build: drop unnecessary getenv(TERM)

This commit is contained in:
nick black 2021-08-08 00:06:54 -04:00
parent 39face9677
commit 8e5144eeb0
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC
2 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ int run ()
nc.stop (); nc.stop ();
Direct direct (getenv ("TERM")); Direct direct ();
direct.set_fg_rgb (0xb5, 0x0d, 0xff); direct.set_fg_rgb (0xb5, 0x0d, 0xff);
std::cout << "notcurses version: "; std::cout << "notcurses version: ";
direct.set_bg_rgb (0x05, 0x6e, 0xee); direct.set_bg_rgb (0x05, 0x6e, 0xee);

View File

@ -40,7 +40,7 @@ int run ()
nc.stop (); nc.stop ();
Direct direct (getenv ("TERM")); Direct direct ();
direct.set_fg_rgb (0xb5, 0x0d, 0xff); direct.set_fg_rgb (0xb5, 0x0d, 0xff);
std::cout << "notcurses version: "; std::cout << "notcurses version: ";
direct.set_bg_rgb (0x05, 0x6e, 0xee); direct.set_bg_rgb (0x05, 0x6e, 0xee);