aboutsummaryrefslogtreecommitdiffhomepage
path: root/builtin.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-02-25 18:54:49 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-02-25 18:54:49 -0800
commit38e40862fe338d75b05316f4caf66cf36f4faa6b (patch)
tree18814000157d066ab819e509311a9ba7acc582b9 /builtin.cpp
parent5ea78f55f278887b428be5e1397164a85bd93275 (diff)
More work towards autosuggesting completions
Diffstat (limited to 'builtin.cpp')
-rw-r--r--builtin.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/builtin.cpp b/builtin.cpp
index d7ba8a11..f9eee831 100644
--- a/builtin.cpp
+++ b/builtin.cpp
@@ -261,7 +261,7 @@ static void builtin_print_help( parser_t &parser, const wchar_t *cmd, wcstring &
screen_height = common_get_height();
lines = count_char( str, L'\n' );
- if( !is_interactive || (lines > 2*screen_height/3) )
+ if( !get_is_interactive() || (lines > 2*screen_height/3) )
{
wchar_t *pos;
int cut=0;
@@ -2569,7 +2569,7 @@ static int builtin_cd( parser_t &parser, wchar_t **argv )
}
- if( !is_interactive )
+ if( !get_is_interactive() )
{
stderr_buffer.append(parser.current_line());
}
@@ -2599,7 +2599,7 @@ static int builtin_cd( parser_t &parser, wchar_t **argv )
dir );
}
- if( !is_interactive )
+ if( !get_is_interactive() )
{
stderr_buffer.append(parser.current_line());
}