summaryrefslogtreecommitdiff
path: root/fluid/shell_command.h
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2023-12-14 19:40:29 +0100
committerMatthias Melcher <github@matthiasm.com>2023-12-14 19:40:34 +0100
commit33d071875623dc90e8da00d0491f97bc2558c861 (patch)
tree742cf9b611ac89f4bbb234edbaf9a9e7834a5f5a /fluid/shell_command.h
parent673fa2e09c178b6c49fddba53ca3d49ceb9bcd73 (diff)
FLUID: option to show terminal, clear terminal, and clear history
Diffstat (limited to 'fluid/shell_command.h')
-rw-r--r--fluid/shell_command.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/fluid/shell_command.h b/fluid/shell_command.h
index 353874dfd..660c398de 100644
--- a/fluid/shell_command.h
+++ b/fluid/shell_command.h
@@ -42,6 +42,7 @@ class Fl_Preferences;
char preferences_get(Fl_Preferences &prefs, const char *key, Fl_String &value, const Fl_String &defaultValue);
char preferences_set(Fl_Preferences &prefs, const char *key, const Fl_String &value);
+void show_terminal_window();
void run_shell_command(const Fl_String &cmd, int flags);
bool shell_command_running(void);
@@ -79,7 +80,8 @@ protected:
class Fd_Shell_Command {
public:
enum { ALWAYS, NEVER, MAC_ONLY, UX_ONLY, WIN_ONLY, MAC_AND_UX_ONLY, USER_ONLY, HOST_ONLY, ENV_ONLY }; // conditions
- enum { SAVE_PROJECT = 1, SAVE_SOURCECODE = 2, SAVE_STRINGS = 4, SAVE_ALL = 7 }; // flags
+ enum { SAVE_PROJECT = 1, SAVE_SOURCECODE = 2, SAVE_STRINGS = 4, SAVE_ALL = 7,
+ DONT_SHOW_TERMINAL = 8, CLEAR_TERMINAL = 16, CLEAR_HISTORY = 32 }; // flags
Fd_Shell_Command();
Fd_Shell_Command(const Fd_Shell_Command *rhs);
Fd_Shell_Command(const Fl_String &in_name);