summaryrefslogtreecommitdiffstats
path: root/include/pttstruct.h
diff options
context:
space:
mode:
authorscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-08-17 13:28:53 +0800
committerscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-08-17 13:28:53 +0800
commit7c7adbd6aefd1498cd84ee947c52269ce099d347 (patch)
tree0cf6027e7edf5f7137d519a34769411115e46251 /include/pttstruct.h
parent1598828725cc3a14f4e9a1a18b4212ad808a3516 (diff)
downloadpttbbs-7c7adbd6aefd1498cd84ee947c52269ce099d347.tar
pttbbs-7c7adbd6aefd1498cd84ee947c52269ce099d347.tar.gz
pttbbs-7c7adbd6aefd1498cd84ee947c52269ce099d347.tar.bz2
pttbbs-7c7adbd6aefd1498cd84ee947c52269ce099d347.tar.lz
pttbbs-7c7adbd6aefd1498cd84ee947c52269ce099d347.tar.xz
pttbbs-7c7adbd6aefd1498cd84ee947c52269ce099d347.tar.zst
pttbbs-7c7adbd6aefd1498cd84ee947c52269ce099d347.zip
screen_backup() & screen_restore() update:
* automatic allocate memory, save cursor location and backup * automatic restore screen, cursor location and free memory * works on screen lessening * no more crash on screen enlarged git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3051 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include/pttstruct.h')
-rw-r--r--include/pttstruct.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/pttstruct.h b/include/pttstruct.h
index 9866b679..6794d38b 100644
--- a/include/pttstruct.h
+++ b/include/pttstruct.h
@@ -427,6 +427,7 @@ typedef struct water_t {
typedef struct {
int row, col;
+ int y, x;
void *raw_memory;
} screen_backup_t;