mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-02 09:40:15 +00:00
ncpp_build: drop unnecessary getenv(TERM)
This commit is contained in:
parent
39face9677
commit
8e5144eeb0
@ -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);
|
||||||
|
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user