aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/proc.h
diff options
context:
space:
mode:
authorGravatar Kurtis Rader <krader@skepticism.us>2016-05-14 20:35:54 -0700
committerGravatar Kurtis Rader <krader@skepticism.us>2016-05-14 20:35:54 -0700
commitff1d651415a2752e82ec417294f9bdf8c234c10f (patch)
treef9dce0f5ad2d8a9d160f4090887b34a34fdefcf4 /src/proc.h
parent149e601743f2ad85df8a3bd0cc857bfd0387ef67 (diff)
rename get_is_interactive and remove stupid test
I'm doing this as part of fixing issue #2980. The code for managing tty modes and job control is a horrible mess. This is a very tiny step towards improving the situation.
Diffstat (limited to 'src/proc.h')
-rw-r--r--src/proc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proc.h b/src/proc.h
index 3d24405c..704f8719 100644
--- a/src/proc.h
+++ b/src/proc.h
@@ -232,7 +232,7 @@ extern int is_subshell;
extern int is_block;
/// Whether we are reading from the keyboard right now.
-int get_is_interactive(void);
+bool shell_is_interactive(void);
/// Whether this shell is attached to the keyboard at all.
extern int is_interactive_session;