mirror of
https://github.com/jarun/nnn.git
synced 2025-03-18 20:39:45 +00:00
Fix created archive not highlighted
This commit is contained in:
parent
17bb0cfb52
commit
d5359f0455
1 changed files with 1 additions and 2 deletions
|
@ -2125,8 +2125,7 @@ static int spawn(char *file, char *arg1, char *arg2, char *arg3, ushort_t flag)
|
||||||
if ((flag & F_CONFIRM) || ((flag & F_CHKRTN) && retstatus)) {
|
if ((flag & F_CONFIRM) || ((flag & F_CHKRTN) && retstatus)) {
|
||||||
status = write(STDOUT_FILENO, messages[MSG_RETURN], xstrlen(messages[MSG_RETURN]));
|
status = write(STDOUT_FILENO, messages[MSG_RETURN], xstrlen(messages[MSG_RETURN]));
|
||||||
(void)status;
|
(void)status;
|
||||||
status = read(STDIN_FILENO, g_buf, PATH_MAX);
|
while ((read(STDIN_FILENO, &status, 1) > 0) && (status != '\n'));
|
||||||
(void)status;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (flag & F_NORMAL)
|
if (flag & F_NORMAL)
|
||||||
|
|
Loading…
Add table
Reference in a new issue