Fill in flipsargs::setfiles

This commit is contained in:
Alcaro
2017-01-03 11:55:09 +01:00
parent a6b0176344
commit 3512a31797
10 changed files with 393 additions and 130 deletions

View File

@@ -93,10 +93,15 @@ bool window_try_init(int * argc, char * * argv[])
return window_init(false, argc, argv);
}
bool window_attach_console()
bool window_console_avail()
{
return getenv("TERM");
}
bool window_console_attach()
{
//nothing to do
return getenv("TERM");
return window_console_avail();
}
//file* file::create(const char * filename)