MiniDevil As beautiful as a shell
t_shell Struct Reference

Shell state. More...

#include <structs.h>

Detailed Description

Shell state.

Definition at line 163 of file structs.h.

Fields

t_envenv
 Environment linked list. More...
 
int exit_status
 Last command's exit status. More...
 
int running
 1 while main loop is active More...
 
int interactive
 1 if STDIN is a tty More...
 
int ui_mode
 1 if UI mode (–ui) More...
 
struct s_ui * ui
 UI state (NULL if off) More...
 
struct s_ast * current_ast
 Currently executing AST. More...
 
char * current_input
 Current input line. More...
 
int is_child
 Child flag (to avoid leaks) More...
 

The documentation for this struct was generated from the following file: