diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2019-11-01 14:50:44 +0100 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2019-11-01 14:50:44 +0100 |
| commit | 3fd5ed860df09cfba6e6b486b50d46666936b520 (patch) | |
| tree | 9bb1b824a50fc0176bdb45bf44fde7a2e70d5970 /bb.h | |
| parent | 02beee84fc9121da14db4422d1721825acc9ed17 (diff) | |
Moved `dirty` from being a bit on `bb` to being a global, which
simplifies the code a bit, plus some other minor cleanups.
Diffstat (limited to 'bb.h')
| -rw-r--r-- | bb.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -68,6 +68,7 @@ fputs(" Press any key to continue...\033[0m ", tty_out); \ fflush(tty_out); \ while (bgetkey(tty_in, NULL, NULL) == -1) usleep(100); \ + dirty = 1; \ } while (0) #define LL_PREPEND(head, node, name) do { \ @@ -143,7 +144,6 @@ typedef struct bb_s { char sort[MAX_SORT+1]; char columns[MAX_COLS+1]; - unsigned int dirty : 1; unsigned int show_dotdot : 1; unsigned int show_dot : 1; unsigned int show_dotfiles : 1; |
