aboutsummaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
authornytpu <alex@nytpu.com>2021-05-26 14:05:56 -0600
committernytpu <alex@nytpu.com>2021-05-26 14:27:19 -0600
commitd0b7dcbe10b6d5efa94fa481937b97b852cc7675 (patch)
treec063cd1cef69aebc1a3293e6c20faf7cd83f5fea /common.h
parentcheck if buffer is dirty before opening new file, add force override (diff)
downloaded-d0b7dcbe10b6d5efa94fa481937b97b852cc7675.tar.bz2
ed-d0b7dcbe10b6d5efa94fa481937b97b852cc7675.zip
implement saving errors for 'h' command
Diffstat (limited to 'common.h')
-rw-r--r--common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/common.h b/common.h
index 0ac23bf..b1ff70e 100644
--- a/common.h
+++ b/common.h
@@ -40,6 +40,8 @@ struct Buffer {
long numrows;
struct Row *rows;
+
+ const char *last_err; // verbose error message for last error that occurred
};
struct Options {