mirror of
https://github.com/sstefani/mtrace.git
synced 2025-12-08 01:36:43 +08:00
fix interactive handling
This commit is contained in:
parent
8060b8ef7f
commit
2851e6744c
@ -829,6 +829,9 @@ static int readline_func(void)
|
||||
|
||||
void readline_init(void)
|
||||
{
|
||||
if (!options.interactive)
|
||||
return;
|
||||
|
||||
rl_terminal_name = getenv("TERM");
|
||||
rl_instream = stdin;
|
||||
rl_outstream = stderr;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user