1
0
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:
Kalle Olavi Niemitalo 2007-07-18 18:42:54 +03:00 committed by Witold Filipczyk
parent 2f30e63ed2
commit d5e57fc2dd
2 changed files with 6 additions and 0 deletions

View File

@ -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;

View File

@ -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;