aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pw.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/pw.c b/pw.c
index 05fa412..6dd5d1e 100644
--- a/pw.c
+++ b/pw.c
@@ -68,17 +68,17 @@
#define workmax 4096
enum status_flags {
- stat_dirty = 1, // display needs refresh
- stat_eof = 2, // end of data reached
- stat_susp = 4, // display refresh suspended
- stat_htmode = 8, // head trigger mode
- stat_ttmode = 16, // tail trigger mode
- stat_trgrd = 32, // triggered flag
- stat_grep = 64, // grep mode
- stat_force = 128, // force refresh even if clean
- stat_lino = 256, // render line numbers
- stat_bkgnd = 512, // running in the background
- stat_hlite = 1024 // running in the background
+ stat_dirty = 0x0001, // display needs refresh
+ stat_eof = 0x0002, // end of data reached
+ stat_susp = 0x0004, // display refresh suspended
+ stat_htmode = 0x0008, // head trigger mode
+ stat_ttmode = 0x0010, // tail trigger mode
+ stat_trgrd = 0x0020, // triggered flag
+ stat_grep = 0x0040, // grep mode
+ stat_force = 0x0080, // force refresh even if clean
+ stat_lino = 0x0100, // render line numbers
+ stat_bkgnd = 0x0200, // running in the background
+ stat_hlite = 0x0400, // running in the background
};
typedef struct pwstate {