diff --git a/ssheven-console.h b/ssheven-console.h index 1d0deb3..fd42933 100644 --- a/ssheven-console.h +++ b/ssheven-console.h @@ -22,3 +22,5 @@ void mouse_click(Point p, int click); void update_console_colors(void); size_t get_selection(char** selection); + +void clear_selection(void); diff --git a/ssheven.c b/ssheven.c index 9884b00..03f5ec8 100644 --- a/ssheven.c +++ b/ssheven.c @@ -441,6 +441,8 @@ int process_menu_select(int32_t result) void resize_con_window(WindowPtr eventWin, EventRecord event) { + clear_selection(); + // TODO: put this somewhere else // limits on window size // top = min vertical