#pragma once
#include "fastfetch.h"
typedef struct FFShellResult
{
FFstrbuf processName;
FFstrbuf exe; const char* exeName; FFstrbuf exePath; FFstrbuf prettyName;
FFstrbuf version;
uint32_t pid;
uint32_t ppid;
int32_t tty;
} FFShellResult;
typedef struct FFTerminalResult
{
FFstrbuf processName;
FFstrbuf exe;
FFstrbuf prettyName;
const char* exeName; FFstrbuf exePath; FFstrbuf version;
FFstrbuf tty;
uint32_t pid;
uint32_t ppid;
} FFTerminalResult;
const FFShellResult* ffDetectShell();
const FFTerminalResult* ffDetectTerminal();