From cec5ef31b3e383b7bdffe049a8c502a563f6b491 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Mon, 8 Mar 2021 23:49:07 -0800 Subject: update vocabulary documentation Top-level and linux/ now have separate vocabulary.md files. --- 103grapheme.subx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to '103grapheme.subx') diff --git a/103grapheme.subx b/103grapheme.subx index d26a0b58..65c5bb2e 100644 --- a/103grapheme.subx +++ b/103grapheme.subx @@ -125,13 +125,13 @@ $set-cursor-position-on-real-screen:end: 5d/pop-to-ebp c3/return -# Draw cursor at current location. But this is rickety: +# Not a real `show-cursor` primitive: # - does not clear previous location cursor was shown at. # - does not preserve what was at the cursor. Caller is responsible for # tracking what was on the screen at this position before and passing it # in again. # - does not stop showing the cursor at this location when the cursor moves -show-cursor-on-real-screen: # g: grapheme +draw-cursor-on-real-screen: # g: grapheme # . prologue 55/push-ebp 89/<- %ebp 4/r32/esp @@ -141,7 +141,7 @@ show-cursor-on-real-screen: # g: grapheme # (cursor-position-on-real-screen) # => eax, ecx (draw-grapheme-on-real-screen *(ebp+8) %eax %ecx 0 7) -$show-cursor-on-real-screen:end: +$draw-cursor-on-real-screen:end: # . restore registers 59/pop-to-ecx 58/pop-to-eax @@ -156,7 +156,7 @@ $show-cursor-on-real-screen:end: # 'draw*cursor*') print to by default. # # We don't bother displaying the cursor when drawing. It only becomes visible -# on show-cursor, which is quite rickety (see above) +# on draw-cursor, which is quite rickety (see above) # # It's up to applications to manage cursor display: # - clean up where it used to be -- cgit 1.4.1-2-gfad0 ts
path: root/edit
blob: aa9ccff7ed2b46c33582f73acb6390f306ea450e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
>9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109