diff options
| author | Albert Cervin <albert@acervin.com> | 2023-02-07 14:06:53 +0100 |
|---|---|---|
| committer | Albert Cervin <albert@acervin.com> | 2023-02-11 21:06:09 +0100 |
| commit | c2976cea9bbca465712534b7e523783e2ccc6c6e (patch) | |
| tree | 6835cd4691c9c9c6f0467cc2b337da9ec5b68ec7 /src/text.h | |
| parent | 8958e3f6c269965b19339f273dd806e985a71cde (diff) | |
| download | dged-c2976cea9bbca465712534b7e523783e2ccc6c6e.tar.gz dged-c2976cea9bbca465712534b7e523783e2ccc6c6e.tar.xz dged-c2976cea9bbca465712534b7e523783e2ccc6c6e.zip | |
Fix text to work more like GNU Emacs
This means that empty lines are not added until they have content.
Diffstat (limited to 'src/text.h')
| -rw-r--r-- | src/text.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -37,6 +37,7 @@ struct text_chunk { uint32_t nbytes; uint32_t nchars; uint32_t line; + bool allocated; }; typedef void (*chunk_cb)(struct text_chunk *chunk, void *userdata); |
