diff options
Diffstat (limited to 'src/fm.c')
| -rw-r--r-- | src/fm.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -27,6 +27,8 @@ static char last_preview_path[PATH_MAX] = ""; bool need_redraw = true; char *enveditor = "vi"; +window *status_window; + /* Function forward declarations */ static fm_info *fm_w_init(terminal *term); static void fm_file_list_init(file_list *l, int cap); @@ -476,7 +478,8 @@ open_with_editor(char **argv) void create_status_bar_win(terminal *t) { - wm_create_new_w(t, "status_bar", 1, t->maxx, t->maxy - 1, 0); + status_window = + wm_create_new_w(t, "status_bar", 1, t->maxx, t->maxy - 1, 0); } void |
