diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2021-01-25 20:12:55 -0500 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2021-01-25 20:12:55 -0500 |
commit | bf9a22bfff4051a70dcebbcd471eddb7b7724f7a (patch) | |
tree | 45c1864c78c6744977e39a994a1736712c419e9b /ted.h | |
parent | 261c177480a0379e77af6ad36a6259f751a504c7 (diff) |
clip selector, save as
Diffstat (limited to 'ted.h')
-rw-r--r-- | ted.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -76,7 +76,8 @@ typedef struct { ENUM_U16 { MENU_NONE, - MENU_OPEN + MENU_OPEN, + MENU_SAVE_AS } ENUM_U16_END(Menu); // file entries for file selectors @@ -95,6 +96,7 @@ typedef struct { char cwd[TED_PATH_MAX]; bool open; // is the file selector on screen? bool submitted; // set to true if the line buffer was just submitted this frame. + bool create_menu; // this is for creating files, not opening files } FileSelector; typedef struct Ted { |