summaryrefslogtreecommitdiffstats
path: root/src/detection/terminalsize/terminalsize.h
blob: 1ad97e1ba1eef2d2b05268186a06e67c3c259aee (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#pragma once

#include "fastfetch.h"
#include "modules/terminalsize/option.h"

typedef struct FFTerminalSizeResult {
    uint16_t rows;
    uint16_t columns;
    uint16_t width;
    uint16_t height;
} FFTerminalSizeResult;

bool ffDetectTerminalSize(FFTerminalSizeResult* result);