summaryrefslogtreecommitdiff
path: root/Shell/GlobalState.h
blob: b15702fc58f6a54e25557423bea0b3f22facbf04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#pragma once

#include <AK/AKString.h>
#include <termios.h>

struct GlobalState {
    String cwd;
    String username;
    String home;
    char ttyname[32];
    char hostname[32];
    pid_t sid;
    uid_t uid;
    struct termios termios;
    bool was_interrupted { false };
    bool was_resized { false };
};

extern GlobalState g;