mirror of
https://github.com/rkd77/elinks.git
synced 2024-09-28 03:06:20 -04:00
Added TODO comments about TERM_EXEC_NEWWIN.
This commit is contained in:
parent
df0f64f9e7
commit
b9b0088a86
@ -575,6 +575,9 @@ has_nul_byte:
|
||||
unsigned char *param;
|
||||
int path_len, del_len, param_len;
|
||||
|
||||
/* TODO: Should this be changed to allow TERM_EXEC_NEWWIN
|
||||
* in a blocked terminal? There is similar code in
|
||||
* exec_on_terminal(). --KON, 2007 */
|
||||
if (is_blocked() && fg != TERM_EXEC_BG) {
|
||||
if (*delete.source) unlink(delete.source);
|
||||
goto nasty_thing;
|
||||
|
@ -288,6 +288,9 @@ exec_on_terminal(struct terminal *term, unsigned char *path,
|
||||
return;
|
||||
}
|
||||
|
||||
/* TODO: Should this be changed to allow TERM_EXEC_NEWWIN
|
||||
* in a blocked terminal? There is similar code in
|
||||
* in_sock(). --KON, 2007 */
|
||||
if (fg != TERM_EXEC_BG && is_blocked()) {
|
||||
unlink(delete);
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user