-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathutils.cpp
More file actions
31 lines (26 loc) · 1.28 KB
/
utils.cpp
File metadata and controls
31 lines (26 loc) · 1.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#include "cell.hpp"
// wrappers
void Getcwd (char * buf , size_t size)
{
if (NULL == getcwd(buf , size))
perror(RED "getcwd failed" RST) ;
}
void PB1()
{
p(G R"( _______. __ __ _______ __ __
/ || | | | | ____|| | | |
| (----`| |__| | | |__ | | | |
\ \ | __ | | __| | | | |
.----) | | | | | | |____ | `----.| `----.
|_______/ |__| |__| |_______||_______||_______|
)" << endl << RST);
}
void PB2(){
p(G R"(███████╗██╗ ██╗███████╗██╗ ██╗
██╔════╝██║ ██║██╔════╝██║ ██║
███████╗███████║█████╗ ██║ ██║
╚════██║██╔══██║██╔══╝ ██║ ██║
███████║██║ ██║███████╗███████╗███████╗
╚══════╝╚═╝ ╚═╝╚══════╝╚══════╝╚══════╝
\n)" RST);
}