Skip to content

Commit d426947

Browse files
committed
update alias auto-completion
1 parent 16872c2 commit d426947

File tree

7 files changed

+211
-297
lines changed

7 files changed

+211
-297
lines changed

arch/README.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,9 @@ Assorted diagrams showing how NeoMutt is assembled.
6363
The Alias and Query Dialogs work the same way as each other.
6464
These state diagrams show how direct access and auto-completion work.
6565

66-
**[direct.gv](direct.gv)** **[direct.svg](direct.svg)**
66+
**[alias.gv](alias.gv)** **[alias.svg](alias.svg)**
6767

68-
![direct.svg](direct.svg)
69-
70-
**[complete.gv](complete.gv)** **[complete.svg](complete.svg)**
71-
72-
![complete.svg](complete.svg)
68+
![alias.svg](alias.svg)
7369

7470
## Auto-Completion
7571

arch/alias.gv

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
digraph workflow {
2+
graph [
3+
rankdir="LR"
4+
nodesep="0.2"
5+
ranksep="0.0"
6+
compound="true"
7+
]
8+
9+
node [
10+
shape="Mrecord"
11+
fontsize="12"
12+
fillcolor="#d0ffff"
13+
style="filled"
14+
height="0.2"
15+
penwidth="1.0"
16+
color="black"
17+
]
18+
19+
edge [
20+
penwidth="2.0"
21+
arrowsize="1.0"
22+
]
23+
24+
index [ label="Index Dialog" ]
25+
alias_c [ label="Alias Completion" ]
26+
alias_d [ label="Alias Dialog" ]
27+
compose [ label="Compose Dialog" ]
28+
editor [ label="Editor" ]
29+
subject [ label="Subject: (prompt)" ]
30+
to [ label="To: (prompt)" ]
31+
32+
alias_c -> to [ label="<select-entry>" ]
33+
alias_d -> to [ label="<select-entry>" ]
34+
compose -> index [ label="<send>" ]
35+
editor -> compose [ label="save, exit" ]
36+
index -> alias_d [ label="<alias-dialog>" ]
37+
index -> to [ label="<mail>" ]
38+
subject -> editor [ label="<enter>" ]
39+
to -> alias_c [ label="<complete>" ]
40+
to -> subject [ label="<enter>" ]
41+
42+
edge [
43+
penwidth="1.0"
44+
arrowsize="1.0"
45+
style="dashed"
46+
fontcolor="#c00000"
47+
color="#ff8080"
48+
]
49+
50+
alias_c -> to [ label="<exit>" ]
51+
alias_d -> index [ label="<exit>" ]
52+
compose -> index [ label="<exit>" ]
53+
subject -> index [ label="empty/abort" ]
54+
to -> index [ label="empty/abort" ]
55+
56+
}

arch/alias.svg

Lines changed: 153 additions & 0 deletions
Loading

arch/complete.gv

Lines changed: 0 additions & 41 deletions
This file was deleted.

0 commit comments

Comments
 (0)