summaryrefslogtreecommitdiffstats
path: root/src/plot.c
diff options
context:
space:
mode:
authorandmarti1424 <andmarti@gmail.com>2017-04-29 09:38:03 -0300
committerandmarti1424 <andmarti@gmail.com>2017-04-29 09:38:03 -0300
commit478bafb1b37232e89377f6bba3359c7e7d180c45 (patch)
treef269e58ea76263904dd660c903d768d9d3b11d62 /src/plot.c
parent9fc40bef28a390750e8c424fb28a879c80fb3654 (diff)
ui_resume change
Diffstat (limited to 'src/plot.c')
-rw-r--r--src/plot.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/plot.c b/src/plot.c
index 5ea3ac6..a7ac760 100644
--- a/src/plot.c
+++ b/src/plot.c
@@ -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);