mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
Simplify color & banner logic
This commit is contained in:
parent
a91d0a7b19
commit
0a4b90ac20
12 changed files with 77 additions and 72 deletions
|
@ -24,6 +24,14 @@
|
|||
#include <complex.h>
|
||||
#include "util.h"
|
||||
|
||||
typedef struct {
|
||||
bool stdinOnTTY;
|
||||
bool stdoutOnTTY;
|
||||
bool supports_colors;
|
||||
} session_arg_t;
|
||||
|
||||
extern session_arg_t session;
|
||||
|
||||
#ifndef M_PI
|
||||
#define M_PI 3.14159265358979323846264338327
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue