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

View File

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

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;