mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
Added TODO comments about TERM_EXEC_NEWWIN.
This commit is contained in:
parent
2f30e63ed2
commit
d5e57fc2dd
@ -590,6 +590,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