summaryrefslogtreecommitdiff
path: root/draw.c
diff options
context:
space:
mode:
authorlouie <lshprung@yahoo.com>2020-09-11 16:21:28 -0700
committerlouie <lshprung@yahoo.com>2020-09-11 16:21:28 -0700
commitc34c6a0cffc7171c54db8bfcd18348fb6f73d7b6 (patch)
treef3ff841577bd1a694cd312f18d9a14ff606f8337 /draw.c
parentddb477b994f01118d0871f70e03ae3f036d7fe8a (diff)
Added manual refresh option and set executed processes to run in background on linux
Diffstat (limited to 'draw.c')
-rw-r--r--draw.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/draw.c b/draw.c
index b501dea..ad6217c 100644
--- a/draw.c
+++ b/draw.c
@@ -116,13 +116,17 @@ int main(int argc, char **argv){
trav_col((true_hover ? e_count : g_count)-1);
break;
+ case KEY_F(5):
+ update_display(true);
+ break;
+
case 10: //enter key
#if defined _WIN32 || defined _WIN64
win_launch();
#else
strcpy(full_command, get_launch());
- strcat(full_command, " > /dev/null 2>&1");
+ strcat(full_command, " > /dev/null 2>&1 &");
system(full_command);
#endif
break;