summaryrefslogtreecommitdiff
path: root/txt.h
diff options
context:
space:
mode:
Diffstat (limited to 'txt.h')
-rw-r--r--txt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/txt.h b/txt.h
index f17728a..a6e92eb 100644
--- a/txt.h
+++ b/txt.h
@@ -43,6 +43,7 @@ typedef struct Txt {
TxtHist hist;
TxtBuf buf[2];
u32 len;
+ int readonly;
} Txt;
/* text buffer manipulation */