aboutsummaryrefslogtreecommitdiff
path: root/vis.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2015-11-07 10:52:35 +0100
committerMarc André Tanner <mat@brain-dump.org>2015-11-07 14:25:25 +0100
commita725325a002413142bd258d92970976db87d8399 (patch)
tree2d72b3f190f95a5724754db7fe09e60e88d0509f /vis.h
parent531a79020767081de9e75f1246172a405be45cc3 (diff)
downloadvis-a725325a002413142bd258d92970976db87d8399.tar.gz
vis-a725325a002413142bd258d92970976db87d8399.tar.xz
vis: shadow default register while in prompt mode
Editing operation in prompt mode should not affect the default register.
Diffstat (limited to 'vis.h')
-rw-r--r--vis.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/vis.h b/vis.h
index 8dee46b..2834fbd 100644
--- a/vis.h
+++ b/vis.h
@@ -350,6 +350,7 @@ enum VisRegister {
VIS_REG_u, VIS_REG_v, VIS_REG_w, VIS_REG_x, VIS_REG_y,
VIS_REG_z,
VIS_REG_DEFAULT, /* used when no other register is specified */
+ VIS_REG_PROMPT, /* internal register which shadows DEFAULT in PROMPT mode */
VIS_REG_INVALID, /* has to be the last enum member */
};