diff options
author | andmarti1424 <andmarti@gmail.com> | 2017-04-29 09:38:03 -0300 |
---|---|---|
committer | andmarti1424 <andmarti@gmail.com> | 2017-04-29 09:38:03 -0300 |
commit | 478bafb1b37232e89377f6bba3359c7e7d180c45 (patch) | |
tree | f269e58ea76263904dd660c903d768d9d3b11d62 /src/plot.c | |
parent | 9fc40bef28a390750e8c424fb28a879c80fb3654 (diff) |
ui_resume change
Diffstat (limited to 'src/plot.c')
-rw-r--r-- | src/plot.c | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -26,9 +26,6 @@ int plotedit(wchar_t * s) { } ui_pause(); - //system("reset"); - //reset_shell_mode(); - char * editor; if (! (editor = getenv("EDITOR"))) editor = DFLT_EDITOR; @@ -36,7 +33,6 @@ int plotedit(wchar_t * s) { if (system(command) == -1) sc_error("Failed editting plot file - errno:%d", errno); ui_resume(); - ui_update(TRUE); } else { sc_error("error: invalid plot file: %ls", s); return -1; @@ -80,17 +76,13 @@ int plot(char * s, int r, int c, int rf, int cf) { sc_error("plot option not valid"); return -1; } - //sc_debug(command); ui_pause(); - //system("reset"); - //reset_shell_mode(); if (system(command) == -1) sc_error("Failed during plot - errno:%d", errno); getchar(); ui_resume(); - ui_update(TRUE); // close file descriptor close(fd); |