-
Notifications
You must be signed in to change notification settings - Fork 13
/
docs.json
680 lines (600 loc) · 28.1 KB
/
docs.json
1
2
3
4
5
6
7
8
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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
[
{
"Constant" : [
],
"submodules" : [
],
"Function" : [
],
"Variable" : [
],
"stripped_doc" : [
],
"desc" : "Declarations of default workflow events that Ki comes packaged with",
"Deprecated" : [
],
"type" : "Module",
"Constructor" : [
],
"Field" : [
],
"Method" : [
{
"def" : "DefaultEvents:init()",
"stripped_doc" : [
"Initializes entity, choose, and url events with all handlers defined in this file",
""
],
"doc" : "Initializes entity, choose, and url events with all handlers defined in this file\n\nParameters:\n * ki - The ki object\n\n Returns:\n * A table populated with the default Ki workflow events",
"parameters" : [
" * ki - The ki object",
""
],
"notes" : [
],
"signature" : "DefaultEvents:init()",
"type" : "Method",
"returns" : [
" * A table populated with the default Ki workflow events"
],
"name" : "init",
"desc" : "Initializes entity, choose, and url events with all handlers defined in this file"
}
],
"Command" : [
],
"items" : [
{
"def" : "DefaultEvents:init()",
"stripped_doc" : [
"Initializes entity, choose, and url events with all handlers defined in this file",
""
],
"doc" : "Initializes entity, choose, and url events with all handlers defined in this file\n\nParameters:\n * ki - The ki object\n\n Returns:\n * A table populated with the default Ki workflow events",
"parameters" : [
" * ki - The ki object",
""
],
"notes" : [
],
"signature" : "DefaultEvents:init()",
"type" : "Method",
"returns" : [
" * A table populated with the default Ki workflow events"
],
"name" : "init",
"desc" : "Initializes entity, choose, and url events with all handlers defined in this file"
}
],
"doc" : "Declarations of default workflow events that Ki comes packaged with",
"name" : "DefaultEvents"
},
{
"Constant" : [
],
"submodules" : [
],
"Function" : [
],
"Variable" : [
{
"def" : "Ki.state",
"stripped_doc" : [
"The internal finite state machine for use in event definitions."
],
"doc" : "The internal finite state machine for use in event definitions.",
"parameters" : [
],
"notes" : [
],
"signature" : "Ki.state",
"type" : "Variable",
"returns" : [
],
"name" : "state",
"desc" : "The internal finite state machine for use in event definitions."
},
{
"def" : "Ki.transitions",
"stripped_doc" : [
"A table containing the definitions of transition events."
],
"doc" : "A table containing the definitions of transition events.",
"parameters" : [
],
"notes" : [
],
"signature" : "Ki.transitions",
"type" : "Variable",
"returns" : [
],
"name" : "transitions",
"desc" : "A table containing the definitions of transition events."
},
{
"def" : "Ki.states",
"stripped_doc" : [
"A table containing the state events in the finite state machine."
],
"doc" : "A table containing the state events in the finite state machine.",
"parameters" : [
],
"notes" : [
],
"signature" : "Ki.states",
"type" : "Variable",
"returns" : [
],
"name" : "states",
"desc" : "A table containing the state events in the finite state machine."
},
{
"def" : "Ki.events",
"stripped_doc" : [
"A table containing the definitions of workflow events under their respective mode names.",
"",
"The following example creates two entity and url events to focus Safari and Spotify apps and open the websites Google and Reddit:",
"```",
" local function handleUrlEvent(url)",
" hs.urlevent.openURL(url)",
" spoon.Ki.state:exitMode()",
" end",
" local function handleApplicationEvent(appName)",
" hs.application.launchOrFocus(appName)",
" spoon.Ki.state:exitMode()",
" end",
"",
" spoon.Ki.events = {",
" url = {",
" { nil, \"g\", function() handleUrlEvent(\"https:\/\/google.com\") end },",
" { nil, \"r\", function() handleUrlEvent(\"https:\/\/reddit.com\") end },",
" },",
" entity = {",
" { nil, \"s\", function() handleApplicationEvent(\"Safari\") end) },",
" { {\"shift\"}, \"s\", function() handleApplicationEvent(\"Spotify\") end) },",
" },",
" }",
"```"
],
"doc" : "A table containing the definitions of workflow events under their respective mode names.\n\nThe following example creates two entity and url events to focus Safari and Spotify apps and open the websites Google and Reddit:\n```\n local function handleUrlEvent(url)\n hs.urlevent.openURL(url)\n spoon.Ki.state:exitMode()\n end\n local function handleApplicationEvent(appName)\n hs.application.launchOrFocus(appName)\n spoon.Ki.state:exitMode()\n end\n\n spoon.Ki.events = {\n url = {\n { nil, \"g\", function() handleUrlEvent(\"https:\/\/google.com\") end },\n { nil, \"r\", function() handleUrlEvent(\"https:\/\/reddit.com\") end },\n },\n entity = {\n { nil, \"s\", function() handleApplicationEvent(\"Safari\") end) },\n { {\"shift\"}, \"s\", function() handleApplicationEvent(\"Spotify\") end) },\n },\n }\n```",
"parameters" : [
],
"notes" : [
],
"signature" : "Ki.events",
"type" : "Variable",
"returns" : [
],
"name" : "events",
"desc" : "A table containing the definitions of workflow events under their respective mode names."
},
{
"def" : "Ki.statusDisplay",
"stripped_doc" : [
"A table that defines the behavior for displaying the status on mode transitions. The `show` function should clear out any previous display and show the current transitioned mode with an action if available.",
" * `show` - A function invoked when a mode transition event occurs, with the following argument(s):",
" * `status` - a string value containing the current mode of the finite state machine (i.e., \"normal\", \"entity\", etc.)",
" * `key` - an optional char value of the key that triggered the state (i.e., \"n\", \"N\", etc.)",
"",
"Defaults to a simple text display in the center of the menu bar of the focused screen."
],
"doc" : "A table that defines the behavior for displaying the status on mode transitions. The `show` function should clear out any previous display and show the current transitioned mode with an action if available.\n * `show` - A function invoked when a mode transition event occurs, with the following argument(s):\n * `status` - a string value containing the current mode of the finite state machine (i.e., \"normal\", \"entity\", etc.)\n * `key` - an optional char value of the key that triggered the state (i.e., \"n\", \"N\", etc.)\n\nDefaults to a simple text display in the center of the menu bar of the focused screen.",
"parameters" : [
],
"notes" : [
],
"signature" : "Ki.statusDisplay",
"type" : "Variable",
"returns" : [
],
"name" : "statusDisplay",
"desc" : "A table that defines the behavior for displaying the status on mode transitions. The `show` function should clear out any previous display and show the current transitioned mode with an action if available."
},
{
"def" : "Ki.state",
"stripped_doc" : [
"A table that stores the most recent event and breadcrumb trail of state transitions"
],
"doc" : "A table that stores the most recent event and breadcrumb trail of state transitions",
"parameters" : [
],
"notes" : [
],
"signature" : "Ki.state",
"type" : "Variable",
"returns" : [
],
"name" : "state",
"desc" : "A table that stores the most recent event and breadcrumb trail of state transitions"
}
],
"stripped_doc" : [
],
"desc" : "Enable a vi-like desktop environment",
"Deprecated" : [
],
"type" : "Module",
"Constructor" : [
],
"Field" : [
],
"Method" : [
{
"def" : "Ki:createEventsMetatable(overrideLHS)",
"stripped_doc" : [
"A function that creates a metatable defined with operations specific to Ki events. The metatable comes with the following operations:",
" * `__add` - Allow events to be added together, with errors on conflicting hotkeys if the override is disabled. In the case of a merge, the event in the first addend (the left item in the operation) will be overwritten with the second addend.",
" * For example, this metatable is set for `ki.transitions` with the functionality of overriding events disabled, since we wouldn't want to accidentally override any of the transition event hotkeys.",
""
],
"doc" : "A function that creates a metatable defined with operations specific to Ki events. The metatable comes with the following operations:\n * `__add` - Allow events to be added together, with errors on conflicting hotkeys if the override is disabled. In the case of a merge, the event in the first addend (the left item in the operation) will be overwritten with the second addend.\n * For example, this metatable is set for `ki.transitions` with the functionality of overriding events disabled, since we wouldn't want to accidentally override any of the transition event hotkeys.\n\nParameters:\n * `overrideLHS` - an optional boolean value to indicate whether to override events in an add operation",
"parameters" : [
" * `overrideLHS` - an optional boolean value to indicate whether to override events in an add operation"
],
"notes" : [
],
"signature" : "Ki:createEventsMetatable(overrideLHS)",
"type" : "Method",
"returns" : [
],
"name" : "createEventsMetatable",
"desc" : "A function that creates a metatable defined with operations specific to Ki events. The metatable comes with the following operations:"
},
{
"def" : "Ki:createEntityEvent(applicationName, eventHandler)",
"stripped_doc" : [
"A helper function that invokes an event handler callback with the `hs.application` and keydown event information",
""
],
"doc" : "A helper function that invokes an event handler callback with the `hs.application` and keydown event information\n\nParameters:\n * applicationName - The application name for use in finding the `hs.application`\n * eventHandler - A callback function that handles the entity event with the following arguments:\n * app - The `hs.application` object of the provided application name\n * keyName - A string containing the name of a keyboard key (in `hs.keycodes.map`)\n * flags - A table containing the keyboard modifiers in the keyboard event (from `hs.eventtap.event:getFlags()`)",
"parameters" : [
" * applicationName - The application name for use in finding the `hs.application`",
" * eventHandler - A callback function that handles the entity event with the following arguments:",
" * app - The `hs.application` object of the provided application name",
" * keyName - A string containing the name of a keyboard key (in `hs.keycodes.map`)",
" * flags - A table containing the keyboard modifiers in the keyboard event (from `hs.eventtap.event:getFlags()`)"
],
"notes" : [
],
"signature" : "Ki:createEntityEvent(applicationName, eventHandler)",
"type" : "Method",
"returns" : [
],
"name" : "createEntityEvent",
"desc" : "A helper function that invokes an event handler callback with the `hs.application` and keydown event information"
},
{
"def" : "Ki:start()",
"stripped_doc" : [
"Sets the status display, transition events, and the default and custom keyboard events, and starts the keyboard event listener",
""
],
"doc" : "Sets the status display, transition events, and the default and custom keyboard events, and starts the keyboard event listener\n\nParameters:\n * None\n\n Returns:\n * The `hs.eventtap` event tap object",
"parameters" : [
" * None",
""
],
"notes" : [
],
"signature" : "Ki:start()",
"type" : "Method",
"returns" : [
" * The `hs.eventtap` event tap object"
],
"name" : "start",
"desc" : "Sets the status display, transition events, and the default and custom keyboard events, and starts the keyboard event listener"
},
{
"def" : "Ki:stop()",
"stripped_doc" : [
"Stops the keyboard event listener",
""
],
"doc" : "Stops the keyboard event listener\n\nParameters:\n * None\n\n Returns:\n * The `hs.eventtap` event tap object",
"parameters" : [
" * None",
""
],
"notes" : [
],
"signature" : "Ki:stop()",
"type" : "Method",
"returns" : [
" * The `hs.eventtap` event tap object"
],
"name" : "stop",
"desc" : "Stops the keyboard event listener"
}
],
"Command" : [
],
"items" : [
{
"def" : "Ki.events",
"stripped_doc" : [
"A table containing the definitions of workflow events under their respective mode names.",
"",
"The following example creates two entity and url events to focus Safari and Spotify apps and open the websites Google and Reddit:",
"```",
" local function handleUrlEvent(url)",
" hs.urlevent.openURL(url)",
" spoon.Ki.state:exitMode()",
" end",
" local function handleApplicationEvent(appName)",
" hs.application.launchOrFocus(appName)",
" spoon.Ki.state:exitMode()",
" end",
"",
" spoon.Ki.events = {",
" url = {",
" { nil, \"g\", function() handleUrlEvent(\"https:\/\/google.com\") end },",
" { nil, \"r\", function() handleUrlEvent(\"https:\/\/reddit.com\") end },",
" },",
" entity = {",
" { nil, \"s\", function() handleApplicationEvent(\"Safari\") end) },",
" { {\"shift\"}, \"s\", function() handleApplicationEvent(\"Spotify\") end) },",
" },",
" }",
"```"
],
"doc" : "A table containing the definitions of workflow events under their respective mode names.\n\nThe following example creates two entity and url events to focus Safari and Spotify apps and open the websites Google and Reddit:\n```\n local function handleUrlEvent(url)\n hs.urlevent.openURL(url)\n spoon.Ki.state:exitMode()\n end\n local function handleApplicationEvent(appName)\n hs.application.launchOrFocus(appName)\n spoon.Ki.state:exitMode()\n end\n\n spoon.Ki.events = {\n url = {\n { nil, \"g\", function() handleUrlEvent(\"https:\/\/google.com\") end },\n { nil, \"r\", function() handleUrlEvent(\"https:\/\/reddit.com\") end },\n },\n entity = {\n { nil, \"s\", function() handleApplicationEvent(\"Safari\") end) },\n { {\"shift\"}, \"s\", function() handleApplicationEvent(\"Spotify\") end) },\n },\n }\n```",
"parameters" : [
],
"notes" : [
],
"signature" : "Ki.events",
"type" : "Variable",
"returns" : [
],
"name" : "events",
"desc" : "A table containing the definitions of workflow events under their respective mode names."
},
{
"def" : "Ki.state",
"stripped_doc" : [
"A table that stores the most recent event and breadcrumb trail of state transitions"
],
"doc" : "A table that stores the most recent event and breadcrumb trail of state transitions",
"parameters" : [
],
"notes" : [
],
"signature" : "Ki.state",
"type" : "Variable",
"returns" : [
],
"name" : "state",
"desc" : "A table that stores the most recent event and breadcrumb trail of state transitions"
},
{
"def" : "Ki.state",
"stripped_doc" : [
"The internal finite state machine for use in event definitions."
],
"doc" : "The internal finite state machine for use in event definitions.",
"parameters" : [
],
"notes" : [
],
"signature" : "Ki.state",
"type" : "Variable",
"returns" : [
],
"name" : "state",
"desc" : "The internal finite state machine for use in event definitions."
},
{
"def" : "Ki.states",
"stripped_doc" : [
"A table containing the state events in the finite state machine."
],
"doc" : "A table containing the state events in the finite state machine.",
"parameters" : [
],
"notes" : [
],
"signature" : "Ki.states",
"type" : "Variable",
"returns" : [
],
"name" : "states",
"desc" : "A table containing the state events in the finite state machine."
},
{
"def" : "Ki.statusDisplay",
"stripped_doc" : [
"A table that defines the behavior for displaying the status on mode transitions. The `show` function should clear out any previous display and show the current transitioned mode with an action if available.",
" * `show` - A function invoked when a mode transition event occurs, with the following argument(s):",
" * `status` - a string value containing the current mode of the finite state machine (i.e., \"normal\", \"entity\", etc.)",
" * `key` - an optional char value of the key that triggered the state (i.e., \"n\", \"N\", etc.)",
"",
"Defaults to a simple text display in the center of the menu bar of the focused screen."
],
"doc" : "A table that defines the behavior for displaying the status on mode transitions. The `show` function should clear out any previous display and show the current transitioned mode with an action if available.\n * `show` - A function invoked when a mode transition event occurs, with the following argument(s):\n * `status` - a string value containing the current mode of the finite state machine (i.e., \"normal\", \"entity\", etc.)\n * `key` - an optional char value of the key that triggered the state (i.e., \"n\", \"N\", etc.)\n\nDefaults to a simple text display in the center of the menu bar of the focused screen.",
"parameters" : [
],
"notes" : [
],
"signature" : "Ki.statusDisplay",
"type" : "Variable",
"returns" : [
],
"name" : "statusDisplay",
"desc" : "A table that defines the behavior for displaying the status on mode transitions. The `show` function should clear out any previous display and show the current transitioned mode with an action if available."
},
{
"def" : "Ki.transitions",
"stripped_doc" : [
"A table containing the definitions of transition events."
],
"doc" : "A table containing the definitions of transition events.",
"parameters" : [
],
"notes" : [
],
"signature" : "Ki.transitions",
"type" : "Variable",
"returns" : [
],
"name" : "transitions",
"desc" : "A table containing the definitions of transition events."
},
{
"def" : "Ki:createEntityEvent(applicationName, eventHandler)",
"stripped_doc" : [
"A helper function that invokes an event handler callback with the `hs.application` and keydown event information",
""
],
"doc" : "A helper function that invokes an event handler callback with the `hs.application` and keydown event information\n\nParameters:\n * applicationName - The application name for use in finding the `hs.application`\n * eventHandler - A callback function that handles the entity event with the following arguments:\n * app - The `hs.application` object of the provided application name\n * keyName - A string containing the name of a keyboard key (in `hs.keycodes.map`)\n * flags - A table containing the keyboard modifiers in the keyboard event (from `hs.eventtap.event:getFlags()`)",
"parameters" : [
" * applicationName - The application name for use in finding the `hs.application`",
" * eventHandler - A callback function that handles the entity event with the following arguments:",
" * app - The `hs.application` object of the provided application name",
" * keyName - A string containing the name of a keyboard key (in `hs.keycodes.map`)",
" * flags - A table containing the keyboard modifiers in the keyboard event (from `hs.eventtap.event:getFlags()`)"
],
"notes" : [
],
"signature" : "Ki:createEntityEvent(applicationName, eventHandler)",
"type" : "Method",
"returns" : [
],
"name" : "createEntityEvent",
"desc" : "A helper function that invokes an event handler callback with the `hs.application` and keydown event information"
},
{
"def" : "Ki:createEventsMetatable(overrideLHS)",
"stripped_doc" : [
"A function that creates a metatable defined with operations specific to Ki events. The metatable comes with the following operations:",
" * `__add` - Allow events to be added together, with errors on conflicting hotkeys if the override is disabled. In the case of a merge, the event in the first addend (the left item in the operation) will be overwritten with the second addend.",
" * For example, this metatable is set for `ki.transitions` with the functionality of overriding events disabled, since we wouldn't want to accidentally override any of the transition event hotkeys.",
""
],
"doc" : "A function that creates a metatable defined with operations specific to Ki events. The metatable comes with the following operations:\n * `__add` - Allow events to be added together, with errors on conflicting hotkeys if the override is disabled. In the case of a merge, the event in the first addend (the left item in the operation) will be overwritten with the second addend.\n * For example, this metatable is set for `ki.transitions` with the functionality of overriding events disabled, since we wouldn't want to accidentally override any of the transition event hotkeys.\n\nParameters:\n * `overrideLHS` - an optional boolean value to indicate whether to override events in an add operation",
"parameters" : [
" * `overrideLHS` - an optional boolean value to indicate whether to override events in an add operation"
],
"notes" : [
],
"signature" : "Ki:createEventsMetatable(overrideLHS)",
"type" : "Method",
"returns" : [
],
"name" : "createEventsMetatable",
"desc" : "A function that creates a metatable defined with operations specific to Ki events. The metatable comes with the following operations:"
},
{
"def" : "Ki:start()",
"stripped_doc" : [
"Sets the status display, transition events, and the default and custom keyboard events, and starts the keyboard event listener",
""
],
"doc" : "Sets the status display, transition events, and the default and custom keyboard events, and starts the keyboard event listener\n\nParameters:\n * None\n\n Returns:\n * The `hs.eventtap` event tap object",
"parameters" : [
" * None",
""
],
"notes" : [
],
"signature" : "Ki:start()",
"type" : "Method",
"returns" : [
" * The `hs.eventtap` event tap object"
],
"name" : "start",
"desc" : "Sets the status display, transition events, and the default and custom keyboard events, and starts the keyboard event listener"
},
{
"def" : "Ki:stop()",
"stripped_doc" : [
"Stops the keyboard event listener",
""
],
"doc" : "Stops the keyboard event listener\n\nParameters:\n * None\n\n Returns:\n * The `hs.eventtap` event tap object",
"parameters" : [
" * None",
""
],
"notes" : [
],
"signature" : "Ki:stop()",
"type" : "Method",
"returns" : [
" * The `hs.eventtap` event tap object"
],
"name" : "stop",
"desc" : "Stops the keyboard event listener"
}
],
"doc" : "Enable a vi-like desktop environment",
"name" : "Ki"
},
{
"Constant" : [
],
"submodules" : [
],
"Function" : [
],
"Variable" : [
],
"stripped_doc" : [
],
"desc" : "Small text display on the menubar to show the current Ki mode",
"Deprecated" : [
],
"type" : "Module",
"Constructor" : [
],
"Field" : [
],
"Method" : [
{
"def" : "StatusDisplay:show(status, key)",
"stripped_doc" : [
"Creates a text display on center of the menu bar to indicate the current Ki mode",
""
],
"doc" : "Creates a text display on center of the menu bar to indicate the current Ki mode\n\nParameters:\n * `status` - a string value containing the current mode (i.e., \"normal\", \"entity\", etc.)\n * `key` - an optional string value of the key that triggered the state (i.e., \"n\", \"N\", etc.)",
"parameters" : [
" * `status` - a string value containing the current mode (i.e., \"normal\", \"entity\", etc.)",
" * `key` - an optional string value of the key that triggered the state (i.e., \"n\", \"N\", etc.)"
],
"notes" : [
],
"signature" : "StatusDisplay:show(status, key)",
"type" : "Method",
"returns" : [
],
"name" : "show",
"desc" : "Creates a text display on center of the menu bar to indicate the current Ki mode"
}
],
"Command" : [
],
"items" : [
{
"def" : "StatusDisplay:show(status, key)",
"stripped_doc" : [
"Creates a text display on center of the menu bar to indicate the current Ki mode",
""
],
"doc" : "Creates a text display on center of the menu bar to indicate the current Ki mode\n\nParameters:\n * `status` - a string value containing the current mode (i.e., \"normal\", \"entity\", etc.)\n * `key` - an optional string value of the key that triggered the state (i.e., \"n\", \"N\", etc.)",
"parameters" : [
" * `status` - a string value containing the current mode (i.e., \"normal\", \"entity\", etc.)",
" * `key` - an optional string value of the key that triggered the state (i.e., \"n\", \"N\", etc.)"
],
"notes" : [
],
"signature" : "StatusDisplay:show(status, key)",
"type" : "Method",
"returns" : [
],
"name" : "show",
"desc" : "Creates a text display on center of the menu bar to indicate the current Ki mode"
}
],
"doc" : "Small text display on the menubar to show the current Ki mode",
"name" : "StatusDisplay"
}
]