summaryrefslogtreecommitdiff
path: root/Shell/GlobalState.h
blob: 4fd85330a6febc46858f4df6922902aa695fe629 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#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 };
};

extern GlobalState g;