deck_of_cards_handler 0.1.1 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/lib/{deck_of_cards → deck_of_cards_handler}/card/card.rb +29 -0
  4. data/lib/{deck_of_cards → deck_of_cards_handler}/packet/packet.rb +27 -3
  5. data/lib/deck_of_cards_handler/version.rb +5 -0
  6. data/lib/deck_of_cards_handler.rb +6 -0
  7. data/sig/deck_of_cards.rbs +1 -1
  8. data/sorbet/config +5 -0
  9. data/sorbet/rbi/annotations/.gitattributes +1 -0
  10. data/sorbet/rbi/annotations/minitest.rbi +119 -0
  11. data/sorbet/rbi/annotations/rainbow.rbi +269 -0
  12. data/sorbet/rbi/gems/.gitattributes +1 -0
  13. data/sorbet/rbi/gems/ast@2.4.3.rbi +586 -0
  14. data/sorbet/rbi/gems/benchmark@0.4.1.rbi +619 -0
  15. data/sorbet/rbi/gems/date@3.4.1.rbi +403 -0
  16. data/sorbet/rbi/gems/erb@5.0.3.rbi +846 -0
  17. data/sorbet/rbi/gems/erubi@1.13.1.rbi +157 -0
  18. data/sorbet/rbi/gems/io-console@0.8.1.rbi +9 -0
  19. data/sorbet/rbi/gems/json@2.15.1.rbi +2326 -0
  20. data/sorbet/rbi/gems/language_server-protocol@3.17.0.5.rbi +9 -0
  21. data/sorbet/rbi/gems/lint_roller@1.1.0.rbi +119 -0
  22. data/sorbet/rbi/gems/logger@1.7.0.rbi +963 -0
  23. data/sorbet/rbi/gems/minitest@5.25.5.rbi +1547 -0
  24. data/sorbet/rbi/gems/netrc@0.11.0.rbi +177 -0
  25. data/sorbet/rbi/gems/parallel@1.27.0.rbi +291 -0
  26. data/sorbet/rbi/gems/parser@3.3.9.0.rbi +5537 -0
  27. data/sorbet/rbi/gems/pp@0.6.3.rbi +376 -0
  28. data/sorbet/rbi/gems/prettyprint@0.2.0.rbi +477 -0
  29. data/sorbet/rbi/gems/prism@1.5.1.rbi +42107 -0
  30. data/sorbet/rbi/gems/psych@5.2.6.rbi +2542 -0
  31. data/sorbet/rbi/gems/racc@1.8.1.rbi +168 -0
  32. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +403 -0
  33. data/sorbet/rbi/gems/rake@13.3.0.rbi +3039 -0
  34. data/sorbet/rbi/gems/rbi@0.3.6.rbi +5162 -0
  35. data/sorbet/rbi/gems/rbs@4.0.0.dev.4.rbi +7895 -0
  36. data/sorbet/rbi/gems/rdoc@6.15.0.rbi +13031 -0
  37. data/sorbet/rbi/gems/regexp_parser@2.11.3.rbi +3883 -0
  38. data/sorbet/rbi/gems/reline@0.6.2.rbi +2998 -0
  39. data/sorbet/rbi/gems/require-hooks@0.2.2.rbi +110 -0
  40. data/sorbet/rbi/gems/rexml@3.4.4.rbi +5250 -0
  41. data/sorbet/rbi/gems/rubocop-ast@1.47.1.rbi +7435 -0
  42. data/sorbet/rbi/gems/rubocop@1.81.1.rbi +63854 -0
  43. data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +1318 -0
  44. data/sorbet/rbi/gems/spoom@1.7.6.rbi +5832 -0
  45. data/sorbet/rbi/gems/stringio@3.1.7.rbi +9 -0
  46. data/sorbet/rbi/gems/tapioca@0.17.7.rbi +3505 -0
  47. data/sorbet/rbi/gems/thor@1.4.0.rbi +4399 -0
  48. data/sorbet/rbi/gems/tsort@0.2.0.rbi +393 -0
  49. data/sorbet/rbi/gems/unicode-display_width@3.2.0.rbi +132 -0
  50. data/sorbet/rbi/gems/unicode-emoji@4.1.0.rbi +251 -0
  51. data/sorbet/rbi/gems/yard-sorbet@0.9.0.rbi +430 -0
  52. data/sorbet/rbi/gems/yard@0.9.37.rbi +18419 -0
  53. data/sorbet/tapioca/config.yml +13 -0
  54. data/sorbet/tapioca/require.rb +4 -0
  55. metadata +61 -20
  56. data/lib/deck_of_cards/version.rb +0 -5
  57. data/lib/deck_of_cards.rb +0 -6
  58. /data/lib/{deck_of_cards → deck_of_cards_handler}/card.rb +0 -0
  59. /data/lib/{deck_of_cards → deck_of_cards_handler}/packet/cuts.rb +0 -0
  60. /data/lib/{deck_of_cards → deck_of_cards_handler}/packet/deals.rb +0 -0
  61. /data/lib/{deck_of_cards → deck_of_cards_handler}/packet/shuffles.rb +0 -0
  62. /data/lib/{deck_of_cards → deck_of_cards_handler}/packet.rb +0 -0
@@ -0,0 +1,2998 @@
1
+ # typed: false
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for types exported from the `reline` gem.
5
+ # Please instead update this file by running `bin/tapioca gem reline`.
6
+
7
+
8
+ # source://reline//lib/reline/version.rb#1
9
+ module Reline
10
+ extend ::Forwardable
11
+ extend ::SingleForwardable
12
+
13
+ # source://reline//lib/reline.rb#466
14
+ def eof?(*args, **_arg1, &block); end
15
+
16
+ private
17
+
18
+ # source://reline//lib/reline.rb#455
19
+ def readline(*args, **_arg1, &block); end
20
+
21
+ # source://reline//lib/reline.rb#487
22
+ def readmultiline(*args, **_arg1, &block); end
23
+
24
+ class << self
25
+ # source://reline//lib/reline.rb#483
26
+ def add_dialog_proc(*args, **_arg1, &block); end
27
+
28
+ # source://reline//lib/reline.rb#480
29
+ def ambiguous_width(*args, **_arg1, &block); end
30
+
31
+ # source://reline//lib/reline.rb#437
32
+ def auto_indent_proc(*args, **_arg1, &block); end
33
+
34
+ # source://reline//lib/reline.rb#437
35
+ def auto_indent_proc=(*args, **_arg1, &block); end
36
+
37
+ # source://reline//lib/reline.rb#485
38
+ def autocompletion(*args, **_arg1, &block); end
39
+
40
+ # source://reline//lib/reline.rb#485
41
+ def autocompletion=(*args, **_arg1, &block); end
42
+
43
+ # source://reline//lib/reline.rb#437
44
+ def basic_quote_characters(*args, **_arg1, &block); end
45
+
46
+ # source://reline//lib/reline.rb#437
47
+ def basic_quote_characters=(*args, **_arg1, &block); end
48
+
49
+ # source://reline//lib/reline.rb#437
50
+ def basic_word_break_characters(*args, **_arg1, &block); end
51
+
52
+ # source://reline//lib/reline.rb#437
53
+ def basic_word_break_characters=(*args, **_arg1, &block); end
54
+
55
+ # source://reline//lib/reline.rb#437
56
+ def completer_quote_characters(*args, **_arg1, &block); end
57
+
58
+ # source://reline//lib/reline.rb#437
59
+ def completer_quote_characters=(*args, **_arg1, &block); end
60
+
61
+ # source://reline//lib/reline.rb#437
62
+ def completer_word_break_characters(*args, **_arg1, &block); end
63
+
64
+ # source://reline//lib/reline.rb#437
65
+ def completer_word_break_characters=(*args, **_arg1, &block); end
66
+
67
+ # source://reline//lib/reline.rb#437
68
+ def completion_append_character(*args, **_arg1, &block); end
69
+
70
+ # source://reline//lib/reline.rb#437
71
+ def completion_append_character=(*args, **_arg1, &block); end
72
+
73
+ # source://reline//lib/reline.rb#453
74
+ def completion_case_fold(*args, **_arg1, &block); end
75
+
76
+ # source://reline//lib/reline.rb#453
77
+ def completion_case_fold=(*args, **_arg1, &block); end
78
+
79
+ # source://reline//lib/reline.rb#437
80
+ def completion_proc(*args, **_arg1, &block); end
81
+
82
+ # source://reline//lib/reline.rb#437
83
+ def completion_proc=(*args, **_arg1, &block); end
84
+
85
+ # source://reline//lib/reline.rb#454
86
+ def completion_quote_character(*args, **_arg1, &block); end
87
+
88
+ # source://reline//lib/reline.rb#494
89
+ def core; end
90
+
91
+ # source://reline//lib/reline.rb#467
92
+ def delete_text(*args, **_arg1, &block); end
93
+
94
+ # source://reline//lib/reline.rb#484
95
+ def dialog_proc(*args, **_arg1, &block); end
96
+
97
+ # source://reline//lib/reline.rb#437
98
+ def dig_perfect_match_proc(*args, **_arg1, &block); end
99
+
100
+ # source://reline//lib/reline.rb#437
101
+ def dig_perfect_match_proc=(*args, **_arg1, &block); end
102
+
103
+ # source://reline//lib/reline.rb#440
104
+ def emacs_editing_mode(*args, **_arg1, &block); end
105
+
106
+ # source://reline//lib/reline.rb#479
107
+ def emacs_editing_mode?(*args, **_arg1, &block); end
108
+
109
+ # source://reline//lib/reline.rb#490
110
+ def encoding_system_needs; end
111
+
112
+ # source://reline//lib/reline.rb#465
113
+ def eof?(*args, **_arg1, &block); end
114
+
115
+ # source://reline//lib/reline.rb#437
116
+ def filename_quote_characters(*args, **_arg1, &block); end
117
+
118
+ # source://reline//lib/reline.rb#437
119
+ def filename_quote_characters=(*args, **_arg1, &block); end
120
+
121
+ # source://reline//lib/reline.rb#464
122
+ def get_screen_size(*args, **_arg1, &block); end
123
+
124
+ # source://reline//lib/reline.rb#439
125
+ def input=(*args, **_arg1, &block); end
126
+
127
+ # source://reline//lib/reline.rb#472
128
+ def insert_text(text); end
129
+
130
+ # source://reline//lib/reline.rb#481
131
+ def last_incremental_search(*args, **_arg1, &block); end
132
+
133
+ # source://reline//lib/reline.rb#482
134
+ def last_incremental_search=(*args, **_arg1, &block); end
135
+
136
+ # source://reline//lib/reline.rb#468
137
+ def line_buffer(*args, **_arg1, &block); end
138
+
139
+ # source://reline//lib/reline.rb#514
140
+ def line_editor; end
141
+
142
+ # source://reline//lib/reline.rb#439
143
+ def output=(*args, **_arg1, &block); end
144
+
145
+ # source://reline//lib/reline.rb#437
146
+ def output_modifier_proc(*args, **_arg1, &block); end
147
+
148
+ # source://reline//lib/reline.rb#437
149
+ def output_modifier_proc=(*args, **_arg1, &block); end
150
+
151
+ # source://reline//lib/reline.rb#469
152
+ def point(*args, **_arg1, &block); end
153
+
154
+ # source://reline//lib/reline.rb#470
155
+ def point=(*args, **_arg1, &block); end
156
+
157
+ # source://reline//lib/reline.rb#437
158
+ def pre_input_hook(*args, **_arg1, &block); end
159
+
160
+ # source://reline//lib/reline.rb#437
161
+ def pre_input_hook=(*args, **_arg1, &block); end
162
+
163
+ # source://reline//lib/reline.rb#437
164
+ def prompt_proc(*args, **_arg1, &block); end
165
+
166
+ # source://reline//lib/reline.rb#437
167
+ def prompt_proc=(*args, **_arg1, &block); end
168
+
169
+ # source://reline//lib/reline.rb#452
170
+ def readline(*args, **_arg1, &block); end
171
+
172
+ # source://reline//lib/reline.rb#446
173
+ def readmultiline(*args, **_arg1, &block); end
174
+
175
+ # source://reline//lib/reline.rb#478
176
+ def redisplay(*args, **_arg1, &block); end
177
+
178
+ # source://reline//lib/reline.rb#437
179
+ def special_prefixes(*args, **_arg1, &block); end
180
+
181
+ # source://reline//lib/reline.rb#437
182
+ def special_prefixes=(*args, **_arg1, &block); end
183
+
184
+ # source://reline//lib/reline.rb#510
185
+ def ungetc(c); end
186
+
187
+ # source://reline//lib/reline.rb#440
188
+ def vi_editing_mode(*args, **_arg1, &block); end
189
+
190
+ # source://reline//lib/reline.rb#479
191
+ def vi_editing_mode?(*args, **_arg1, &block); end
192
+ end
193
+ end
194
+
195
+ # source://reline//lib/reline/io/ansi.rb#4
196
+ class Reline::ANSI < ::Reline::IO
197
+ # @return [ANSI] a new instance of ANSI
198
+ #
199
+ # source://reline//lib/reline/io/ansi.rb#22
200
+ def initialize; end
201
+
202
+ # @return [Boolean]
203
+ #
204
+ # source://reline//lib/reline/io/ansi.rb#222
205
+ def both_tty?; end
206
+
207
+ # source://reline//lib/reline/io/ansi.rb#234
208
+ def buffered_output; end
209
+
210
+ # source://reline//lib/reline/io/ansi.rb#282
211
+ def clear_screen; end
212
+
213
+ # source://reline//lib/reline/io/ansi.rb#217
214
+ def cursor_pos; end
215
+
216
+ # source://reline//lib/reline/io/ansi.rb#316
217
+ def deprep(otio); end
218
+
219
+ # @return [Boolean]
220
+ #
221
+ # source://reline//lib/reline/io/ansi.rb#159
222
+ def empty_buffer?; end
223
+
224
+ # source://reline//lib/reline/io/ansi.rb#30
225
+ def encoding; end
226
+
227
+ # source://reline//lib/reline/io/ansi.rb#270
228
+ def erase_after_cursor; end
229
+
230
+ # source://reline//lib/reline/io/ansi.rb#181
231
+ def get_screen_size; end
232
+
233
+ # if the usage expects to wait indefinitely, use Float::INFINITY for timeout_second
234
+ #
235
+ # source://reline//lib/reline/io/ansi.rb#151
236
+ def getc(timeout_second); end
237
+
238
+ # source://reline//lib/reline/io/ansi.rb#262
239
+ def hide_cursor; end
240
+
241
+ # @return [Boolean]
242
+ #
243
+ # source://reline//lib/reline/io/ansi.rb#155
244
+ def in_pasting?; end
245
+
246
+ # source://reline//lib/reline/io/ansi.rb#116
247
+ def inner_getc(timeout_second); end
248
+
249
+ # Sets the attribute input
250
+ #
251
+ # @param value the value to set the attribute input to.
252
+ #
253
+ # source://reline//lib/reline/io/ansi.rb#20
254
+ def input=(_arg0); end
255
+
256
+ # source://reline//lib/reline/io/ansi.rb#242
257
+ def move_cursor_column(x); end
258
+
259
+ # source://reline//lib/reline/io/ansi.rb#254
260
+ def move_cursor_down(x); end
261
+
262
+ # source://reline//lib/reline/io/ansi.rb#246
263
+ def move_cursor_up(x); end
264
+
265
+ # Sets the attribute output
266
+ #
267
+ # @param value the value to set the attribute output to.
268
+ #
269
+ # source://reline//lib/reline/io/ansi.rb#20
270
+ def output=(_arg0); end
271
+
272
+ # source://reline//lib/reline/io/ansi.rb#309
273
+ def prep; end
274
+
275
+ # source://reline//lib/reline/io/ansi.rb#139
276
+ def read_bracketed_paste; end
277
+
278
+ # source://reline//lib/reline/io/ansi.rb#302
279
+ def read_single_char(timeout_second); end
280
+
281
+ # source://reline//lib/reline/io/ansi.rb#170
282
+ def retrieve_keybuffer; end
283
+
284
+ # This only works when the cursor is at the bottom of the scroll range
285
+ # For more details, see https://github.com/ruby/reline/pull/577#issuecomment-1646679623
286
+ #
287
+ # source://reline//lib/reline/io/ansi.rb#276
288
+ def scroll_down(x); end
289
+
290
+ # source://reline//lib/reline/io/ansi.rb#56
291
+ def set_bracketed_paste_key_bindings(config); end
292
+
293
+ # source://reline//lib/reline/io/ansi.rb#37
294
+ def set_default_key_bindings(config); end
295
+
296
+ # source://reline//lib/reline/io/ansi.rb#62
297
+ def set_default_key_bindings_ansi_cursor(config); end
298
+
299
+ # source://reline//lib/reline/io/ansi.rb#87
300
+ def set_default_key_bindings_comprehensive_list(config); end
301
+
302
+ # source://reline//lib/reline/io/ansi.rb#191
303
+ def set_screen_size(rows, columns); end
304
+
305
+ # source://reline//lib/reline/io/ansi.rb#287
306
+ def set_winch_handler(&handler); end
307
+
308
+ # source://reline//lib/reline/io/ansi.rb#266
309
+ def show_cursor; end
310
+
311
+ # source://reline//lib/reline/io/ansi.rb#166
312
+ def ungetc(c); end
313
+
314
+ # source://reline//lib/reline/io/ansi.rb#108
315
+ def with_raw_input; end
316
+
317
+ # source://reline//lib/reline/io/ansi.rb#226
318
+ def write(string); end
319
+
320
+ private
321
+
322
+ # source://reline//lib/reline/io/ansi.rb#198
323
+ def cursor_pos_internal(timeout:); end
324
+ end
325
+
326
+ # source://reline//lib/reline/io/ansi.rb#5
327
+ Reline::ANSI::ANSI_CURSOR_KEY_BINDINGS = T.let(T.unsafe(nil), Hash)
328
+
329
+ # source://reline//lib/reline/io/ansi.rb#138
330
+ Reline::ANSI::END_BRACKETED_PASTE = T.let(T.unsafe(nil), String)
331
+
332
+ # source://reline//lib/reline/io/ansi.rb#137
333
+ Reline::ANSI::START_BRACKETED_PASTE = T.let(T.unsafe(nil), String)
334
+
335
+ # source://reline//lib/reline/config.rb#1
336
+ class Reline::Config
337
+ # @return [Config] a new instance of Config
338
+ #
339
+ # source://reline//lib/reline/config.rb#31
340
+ def initialize; end
341
+
342
+ # source://reline//lib/reline/config.rb#162
343
+ def add_default_key_binding(keystroke, target); end
344
+
345
+ # source://reline//lib/reline/config.rb#158
346
+ def add_default_key_binding_by_keymap(keymap, keystroke, target); end
347
+
348
+ # source://reline//lib/reline/config.rb#147
349
+ def add_oneshot_key_binding(keystroke, target); end
350
+
351
+ # Returns the value of attribute autocompletion.
352
+ #
353
+ # source://reline//lib/reline/config.rb#29
354
+ def autocompletion; end
355
+
356
+ # Sets the attribute autocompletion
357
+ #
358
+ # @param value the value to set the attribute autocompletion to.
359
+ #
360
+ # source://reline//lib/reline/config.rb#29
361
+ def autocompletion=(_arg0); end
362
+
363
+ # source://reline//lib/reline/config.rb#319
364
+ def bind_key(key, value); end
365
+
366
+ # source://reline//lib/reline/config.rb#252
367
+ def bind_variable(name, value, raw_value); end
368
+
369
+ # source://reline//lib/reline/config.rb#26
370
+ def completion_ignore_case; end
371
+
372
+ # source://reline//lib/reline/config.rb#26
373
+ def completion_ignore_case=(_arg0); end
374
+
375
+ # source://reline//lib/reline/config.rb#26
376
+ def convert_meta; end
377
+
378
+ # source://reline//lib/reline/config.rb#26
379
+ def convert_meta=(_arg0); end
380
+
381
+ # source://reline//lib/reline/config.rb#26
382
+ def disable_completion; end
383
+
384
+ # source://reline//lib/reline/config.rb#26
385
+ def disable_completion=(_arg0); end
386
+
387
+ # source://reline//lib/reline/config.rb#72
388
+ def editing_mode; end
389
+
390
+ # source://reline//lib/reline/config.rb#76
391
+ def editing_mode=(val); end
392
+
393
+ # @return [Boolean]
394
+ #
395
+ # source://reline//lib/reline/config.rb#80
396
+ def editing_mode_is?(*val); end
397
+
398
+ # source://reline//lib/reline/config.rb#26
399
+ def emacs_mode_string; end
400
+
401
+ # source://reline//lib/reline/config.rb#26
402
+ def emacs_mode_string=(_arg0); end
403
+
404
+ # source://reline//lib/reline/config.rb#26
405
+ def enable_bracketed_paste; end
406
+
407
+ # source://reline//lib/reline/config.rb#26
408
+ def enable_bracketed_paste=(_arg0); end
409
+
410
+ # source://reline//lib/reline/config.rb#217
411
+ def handle_directive(directive, file, no, if_stack); end
412
+
413
+ # source://reline//lib/reline/config.rb#26
414
+ def history_size; end
415
+
416
+ # source://reline//lib/reline/config.rb#26
417
+ def history_size=(_arg0); end
418
+
419
+ # source://reline//lib/reline/config.rb#92
420
+ def inputrc_path; end
421
+
422
+ # source://reline//lib/reline/config.rb#26
423
+ def isearch_terminators; end
424
+
425
+ # source://reline//lib/reline/config.rb#26
426
+ def isearch_terminators=(_arg0); end
427
+
428
+ # source://reline//lib/reline/config.rb#142
429
+ def key_bindings; end
430
+
431
+ # source://reline//lib/reline/config.rb#338
432
+ def key_notation_to_code(notation); end
433
+
434
+ # source://reline//lib/reline/config.rb#84
435
+ def keymap; end
436
+
437
+ # source://reline//lib/reline/config.rb#26
438
+ def keyseq_timeout; end
439
+
440
+ # source://reline//lib/reline/config.rb#26
441
+ def keyseq_timeout=(_arg0); end
442
+
443
+ # @return [Boolean]
444
+ #
445
+ # source://reline//lib/reline/config.rb#88
446
+ def loaded?; end
447
+
448
+ # source://reline//lib/reline/config.rb#324
449
+ def parse_key_binding(key, func_name); end
450
+
451
+ # source://reline//lib/reline/config.rb#364
452
+ def parse_keyseq(str); end
453
+
454
+ # source://reline//lib/reline/config.rb#122
455
+ def read(file = T.unsafe(nil)); end
456
+
457
+ # source://reline//lib/reline/config.rb#166
458
+ def read_lines(lines, file = T.unsafe(nil)); end
459
+
460
+ # source://reline//lib/reline/config.rb#370
461
+ def reload; end
462
+
463
+ # source://reline//lib/reline/config.rb#35
464
+ def reset; end
465
+
466
+ # source://reline//lib/reline/config.rb#154
467
+ def reset_oneshot_key_bindings; end
468
+
469
+ # source://reline//lib/reline/config.rb#42
470
+ def reset_variables; end
471
+
472
+ # source://reline//lib/reline/config.rb#314
473
+ def retrieve_string(str); end
474
+
475
+ # source://reline//lib/reline/config.rb#26
476
+ def show_all_if_ambiguous; end
477
+
478
+ # source://reline//lib/reline/config.rb#26
479
+ def show_all_if_ambiguous=(_arg0); end
480
+
481
+ # source://reline//lib/reline/config.rb#26
482
+ def show_mode_in_prompt; end
483
+
484
+ # source://reline//lib/reline/config.rb#26
485
+ def show_mode_in_prompt=(_arg0); end
486
+
487
+ # Returns the value of attribute test_mode.
488
+ #
489
+ # source://reline//lib/reline/config.rb#2
490
+ def test_mode; end
491
+
492
+ # source://reline//lib/reline/config.rb#26
493
+ def vi_cmd_mode_string; end
494
+
495
+ # source://reline//lib/reline/config.rb#26
496
+ def vi_cmd_mode_string=(_arg0); end
497
+
498
+ # source://reline//lib/reline/config.rb#26
499
+ def vi_ins_mode_string; end
500
+
501
+ # source://reline//lib/reline/config.rb#26
502
+ def vi_ins_mode_string=(_arg0); end
503
+
504
+ private
505
+
506
+ # source://reline//lib/reline/config.rb#118
507
+ def default_inputrc_path; end
508
+
509
+ # @return [Boolean]
510
+ #
511
+ # source://reline//lib/reline/config.rb#375
512
+ def seven_bit_encoding?(encoding); end
513
+ end
514
+
515
+ # source://reline//lib/reline/config.rb#6
516
+ class Reline::Config::InvalidInputrc < ::RuntimeError
517
+ # Returns the value of attribute file.
518
+ #
519
+ # source://reline//lib/reline/config.rb#7
520
+ def file; end
521
+
522
+ # Sets the attribute file
523
+ #
524
+ # @param value the value to set the attribute file to.
525
+ #
526
+ # source://reline//lib/reline/config.rb#7
527
+ def file=(_arg0); end
528
+
529
+ # Returns the value of attribute lineno.
530
+ #
531
+ # source://reline//lib/reline/config.rb#7
532
+ def lineno; end
533
+
534
+ # Sets the attribute lineno
535
+ #
536
+ # @param value the value to set the attribute lineno to.
537
+ #
538
+ # source://reline//lib/reline/config.rb#7
539
+ def lineno=(_arg0); end
540
+ end
541
+
542
+ # source://reline//lib/reline/config.rb#4
543
+ Reline::Config::KEYSEQ_PATTERN = T.let(T.unsafe(nil), Regexp)
544
+
545
+ # source://reline//lib/reline/config.rb#10
546
+ Reline::Config::VARIABLE_NAMES = T.let(T.unsafe(nil), Array)
547
+
548
+ # source://reline//lib/reline/config.rb#24
549
+ Reline::Config::VARIABLE_NAME_SYMBOLS = T.let(T.unsafe(nil), Array)
550
+
551
+ # source://reline//lib/reline.rb#40
552
+ class Reline::Core
553
+ extend ::Forwardable
554
+
555
+ # @return [Core] a new instance of Core
556
+ # @yield [_self]
557
+ # @yieldparam _self [Reline::Core] the object that the method was called on
558
+ #
559
+ # source://reline//lib/reline.rb#68
560
+ def initialize; end
561
+
562
+ # @raise [ArgumentError]
563
+ #
564
+ # source://reline//lib/reline.rb#162
565
+ def add_dialog_proc(name_sym, p, context = T.unsafe(nil)); end
566
+
567
+ # source://reline//lib/reline.rb#407
568
+ def ambiguous_width; end
569
+
570
+ # source://reline//lib/reline.rb#55
571
+ def auto_indent_proc; end
572
+
573
+ # @raise [ArgumentError]
574
+ #
575
+ # source://reline//lib/reline.rb#147
576
+ def auto_indent_proc=(p); end
577
+
578
+ # source://reline//lib/reline.rb#64
579
+ def autocompletion(*args, **_arg1, &block); end
580
+
581
+ # source://reline//lib/reline.rb#64
582
+ def autocompletion=(*args, **_arg1, &block); end
583
+
584
+ # source://reline//lib/reline.rb#55
585
+ def basic_quote_characters; end
586
+
587
+ # source://reline//lib/reline.rb#104
588
+ def basic_quote_characters=(v); end
589
+
590
+ # source://reline//lib/reline.rb#55
591
+ def basic_word_break_characters; end
592
+
593
+ # source://reline//lib/reline.rb#96
594
+ def basic_word_break_characters=(v); end
595
+
596
+ # source://reline//lib/reline.rb#55
597
+ def completer_quote_characters; end
598
+
599
+ # source://reline//lib/reline.rb#108
600
+ def completer_quote_characters=(v); end
601
+
602
+ # source://reline//lib/reline.rb#55
603
+ def completer_word_break_characters; end
604
+
605
+ # source://reline//lib/reline.rb#100
606
+ def completer_word_break_characters=(v); end
607
+
608
+ # source://reline//lib/reline.rb#55
609
+ def completion_append_character; end
610
+
611
+ # source://reline//lib/reline.rb#84
612
+ def completion_append_character=(val); end
613
+
614
+ # source://reline//lib/reline.rb#124
615
+ def completion_case_fold; end
616
+
617
+ # source://reline//lib/reline.rb#120
618
+ def completion_case_fold=(v); end
619
+
620
+ # source://reline//lib/reline.rb#55
621
+ def completion_proc; end
622
+
623
+ # @raise [ArgumentError]
624
+ #
625
+ # source://reline//lib/reline.rb#132
626
+ def completion_proc=(p); end
627
+
628
+ # source://reline//lib/reline.rb#128
629
+ def completion_quote_character; end
630
+
631
+ # Returns the value of attribute config.
632
+ #
633
+ # source://reline//lib/reline.rb#57
634
+ def config; end
635
+
636
+ # Sets the attribute config
637
+ #
638
+ # @param value the value to set the attribute config to.
639
+ #
640
+ # source://reline//lib/reline.rb#57
641
+ def config=(_arg0); end
642
+
643
+ # source://reline//lib/reline.rb#172
644
+ def dialog_proc(name_sym); end
645
+
646
+ # source://reline//lib/reline.rb#55
647
+ def dig_perfect_match_proc; end
648
+
649
+ # @raise [ArgumentError]
650
+ #
651
+ # source://reline//lib/reline.rb#156
652
+ def dig_perfect_match_proc=(p); end
653
+
654
+ # source://reline//lib/reline.rb#194
655
+ def emacs_editing_mode; end
656
+
657
+ # @return [Boolean]
658
+ #
659
+ # source://reline//lib/reline.rb#203
660
+ def emacs_editing_mode?; end
661
+
662
+ # source://reline//lib/reline.rb#80
663
+ def encoding; end
664
+
665
+ # source://reline//lib/reline.rb#55
666
+ def filename_quote_characters; end
667
+
668
+ # source://reline//lib/reline.rb#112
669
+ def filename_quote_characters=(v); end
670
+
671
+ # source://reline//lib/reline.rb#207
672
+ def get_screen_size; end
673
+
674
+ # @raise [TypeError]
675
+ #
676
+ # source://reline//lib/reline.rb#176
677
+ def input=(val); end
678
+
679
+ # source://reline//lib/reline.rb#76
680
+ def io_gate; end
681
+
682
+ # Returns the value of attribute key_stroke.
683
+ #
684
+ # source://reline//lib/reline.rb#58
685
+ def key_stroke; end
686
+
687
+ # Sets the attribute key_stroke
688
+ #
689
+ # @param value the value to set the attribute key_stroke to.
690
+ #
691
+ # source://reline//lib/reline.rb#58
692
+ def key_stroke=(_arg0); end
693
+
694
+ # Returns the value of attribute last_incremental_search.
695
+ #
696
+ # source://reline//lib/reline.rb#60
697
+ def last_incremental_search; end
698
+
699
+ # Sets the attribute last_incremental_search
700
+ #
701
+ # @param value the value to set the attribute last_incremental_search to.
702
+ #
703
+ # source://reline//lib/reline.rb#60
704
+ def last_incremental_search=(_arg0); end
705
+
706
+ # Returns the value of attribute line_editor.
707
+ #
708
+ # source://reline//lib/reline.rb#59
709
+ def line_editor; end
710
+
711
+ # Sets the attribute line_editor
712
+ #
713
+ # @param value the value to set the attribute line_editor to.
714
+ #
715
+ # source://reline//lib/reline.rb#59
716
+ def line_editor=(_arg0); end
717
+
718
+ # Returns the value of attribute output.
719
+ #
720
+ # source://reline//lib/reline.rb#61
721
+ def output; end
722
+
723
+ # @raise [TypeError]
724
+ #
725
+ # source://reline//lib/reline.rb#183
726
+ def output=(val); end
727
+
728
+ # source://reline//lib/reline.rb#55
729
+ def output_modifier_proc; end
730
+
731
+ # @raise [ArgumentError]
732
+ #
733
+ # source://reline//lib/reline.rb#137
734
+ def output_modifier_proc=(p); end
735
+
736
+ # source://reline//lib/reline.rb#55
737
+ def pre_input_hook; end
738
+
739
+ # source://reline//lib/reline.rb#152
740
+ def pre_input_hook=(p); end
741
+
742
+ # source://reline//lib/reline.rb#55
743
+ def prompt_proc; end
744
+
745
+ # @raise [ArgumentError]
746
+ #
747
+ # source://reline//lib/reline.rb#142
748
+ def prompt_proc=(p); end
749
+
750
+ # source://reline//lib/reline.rb#276
751
+ def readline(prompt = T.unsafe(nil), add_hist = T.unsafe(nil)); end
752
+
753
+ # source://reline//lib/reline.rb#250
754
+ def readmultiline(prompt = T.unsafe(nil), add_hist = T.unsafe(nil), &confirm_multiline_termination); end
755
+
756
+ # source://reline//lib/reline.rb#55
757
+ def special_prefixes; end
758
+
759
+ # source://reline//lib/reline.rb#116
760
+ def special_prefixes=(v); end
761
+
762
+ # source://reline//lib/reline.rb#189
763
+ def vi_editing_mode; end
764
+
765
+ # @return [Boolean]
766
+ #
767
+ # source://reline//lib/reline.rb#199
768
+ def vi_editing_mode?; end
769
+
770
+ private
771
+
772
+ # source://reline//lib/reline.rb#293
773
+ def inner_readline(prompt, add_hist, multiline, &confirm_multiline_termination); end
774
+
775
+ # source://reline//lib/reline.rb#412
776
+ def may_req_ambiguous_char_width; end
777
+
778
+ # GNU Readline watis for "keyseq-timeout" milliseconds when the input is
779
+ # ambiguous whether it is matching or matched.
780
+ # If the next character does not arrive within the specified timeout, input
781
+ # is considered as matched.
782
+ # `ESC` is ambiguous because it can be a standalone ESC (matched) or part of
783
+ # `ESC char` or part of CSI sequence (matching).
784
+ #
785
+ # source://reline//lib/reline.rb#377
786
+ def read_io(keyseq_timeout, &block); end
787
+ end
788
+
789
+ # source://reline//lib/reline.rb#41
790
+ Reline::Core::ATTR_READER_NAMES = T.let(T.unsafe(nil), Array)
791
+
792
+ # source://reline//lib/reline.rb#161
793
+ class Reline::Core::DialogProc < ::Struct
794
+ # Returns the value of attribute context
795
+ #
796
+ # @return [Object] the current value of context
797
+ #
798
+ # source://reline//lib/reline.rb#161
799
+ def context; end
800
+
801
+ # Sets the attribute context
802
+ #
803
+ # @param value [Object] the value to set the attribute context to.
804
+ # @return [Object] the newly set value
805
+ #
806
+ # source://reline//lib/reline.rb#161
807
+ def context=(_); end
808
+
809
+ # Returns the value of attribute dialog_proc
810
+ #
811
+ # @return [Object] the current value of dialog_proc
812
+ #
813
+ # source://reline//lib/reline.rb#161
814
+ def dialog_proc; end
815
+
816
+ # Sets the attribute dialog_proc
817
+ #
818
+ # @param value [Object] the value to set the attribute dialog_proc to.
819
+ # @return [Object] the newly set value
820
+ #
821
+ # source://reline//lib/reline.rb#161
822
+ def dialog_proc=(_); end
823
+
824
+ class << self
825
+ # source://reline//lib/reline.rb#161
826
+ def [](*_arg0); end
827
+
828
+ # source://reline//lib/reline.rb#161
829
+ def inspect; end
830
+
831
+ # source://reline//lib/reline.rb#161
832
+ def keyword_init?; end
833
+
834
+ # source://reline//lib/reline.rb#161
835
+ def members; end
836
+
837
+ # source://reline//lib/reline.rb#161
838
+ def new(*_arg0); end
839
+ end
840
+ end
841
+
842
+ # source://reline//lib/reline.rb#28
843
+ class Reline::CursorPos < ::Struct
844
+ # Returns the value of attribute x
845
+ #
846
+ # @return [Object] the current value of x
847
+ #
848
+ # source://reline//lib/reline.rb#28
849
+ def x; end
850
+
851
+ # Sets the attribute x
852
+ #
853
+ # @param value [Object] the value to set the attribute x to.
854
+ # @return [Object] the newly set value
855
+ #
856
+ # source://reline//lib/reline.rb#28
857
+ def x=(_); end
858
+
859
+ # Returns the value of attribute y
860
+ #
861
+ # @return [Object] the current value of y
862
+ #
863
+ # source://reline//lib/reline.rb#28
864
+ def y; end
865
+
866
+ # Sets the attribute y
867
+ #
868
+ # @param value [Object] the value to set the attribute y to.
869
+ # @return [Object] the newly set value
870
+ #
871
+ # source://reline//lib/reline.rb#28
872
+ def y=(_); end
873
+
874
+ class << self
875
+ # source://reline//lib/reline.rb#28
876
+ def [](*_arg0); end
877
+
878
+ # source://reline//lib/reline.rb#28
879
+ def inspect; end
880
+
881
+ # source://reline//lib/reline.rb#28
882
+ def keyword_init?; end
883
+
884
+ # source://reline//lib/reline.rb#28
885
+ def members; end
886
+
887
+ # source://reline//lib/reline.rb#28
888
+ def new(*_arg0); end
889
+ end
890
+ end
891
+
892
+ # source://reline//lib/reline.rb#248
893
+ Reline::DEFAULT_DIALOG_CONTEXT = T.let(T.unsafe(nil), Array)
894
+
895
+ # source://reline//lib/reline.rb#211
896
+ Reline::DEFAULT_DIALOG_PROC_AUTOCOMPLETE = T.let(T.unsafe(nil), Proc)
897
+
898
+ # source://reline//lib/reline.rb#29
899
+ class Reline::DialogRenderInfo < ::Struct
900
+ # Returns the value of attribute bg_color
901
+ #
902
+ # @return [Object] the current value of bg_color
903
+ #
904
+ # source://reline//lib/reline.rb#29
905
+ def bg_color; end
906
+
907
+ # Sets the attribute bg_color
908
+ #
909
+ # @param value [Object] the value to set the attribute bg_color to.
910
+ # @return [Object] the newly set value
911
+ #
912
+ # source://reline//lib/reline.rb#29
913
+ def bg_color=(_); end
914
+
915
+ # Returns the value of attribute contents
916
+ #
917
+ # @return [Object] the current value of contents
918
+ #
919
+ # source://reline//lib/reline.rb#29
920
+ def contents; end
921
+
922
+ # Sets the attribute contents
923
+ #
924
+ # @param value [Object] the value to set the attribute contents to.
925
+ # @return [Object] the newly set value
926
+ #
927
+ # source://reline//lib/reline.rb#29
928
+ def contents=(_); end
929
+
930
+ # Returns the value of attribute face
931
+ #
932
+ # @return [Object] the current value of face
933
+ #
934
+ # source://reline//lib/reline.rb#29
935
+ def face; end
936
+
937
+ # Sets the attribute face
938
+ #
939
+ # @param value [Object] the value to set the attribute face to.
940
+ # @return [Object] the newly set value
941
+ #
942
+ # source://reline//lib/reline.rb#29
943
+ def face=(_); end
944
+
945
+ # Returns the value of attribute height
946
+ #
947
+ # @return [Object] the current value of height
948
+ #
949
+ # source://reline//lib/reline.rb#29
950
+ def height; end
951
+
952
+ # Sets the attribute height
953
+ #
954
+ # @param value [Object] the value to set the attribute height to.
955
+ # @return [Object] the newly set value
956
+ #
957
+ # source://reline//lib/reline.rb#29
958
+ def height=(_); end
959
+
960
+ # Returns the value of attribute pos
961
+ #
962
+ # @return [Object] the current value of pos
963
+ #
964
+ # source://reline//lib/reline.rb#29
965
+ def pos; end
966
+
967
+ # Sets the attribute pos
968
+ #
969
+ # @param value [Object] the value to set the attribute pos to.
970
+ # @return [Object] the newly set value
971
+ #
972
+ # source://reline//lib/reline.rb#29
973
+ def pos=(_); end
974
+
975
+ # Returns the value of attribute scrollbar
976
+ #
977
+ # @return [Object] the current value of scrollbar
978
+ #
979
+ # source://reline//lib/reline.rb#29
980
+ def scrollbar; end
981
+
982
+ # Sets the attribute scrollbar
983
+ #
984
+ # @param value [Object] the value to set the attribute scrollbar to.
985
+ # @return [Object] the newly set value
986
+ #
987
+ # source://reline//lib/reline.rb#29
988
+ def scrollbar=(_); end
989
+
990
+ # Returns the value of attribute width
991
+ #
992
+ # @return [Object] the current value of width
993
+ #
994
+ # source://reline//lib/reline.rb#29
995
+ def width; end
996
+
997
+ # Sets the attribute width
998
+ #
999
+ # @param value [Object] the value to set the attribute width to.
1000
+ # @return [Object] the newly set value
1001
+ #
1002
+ # source://reline//lib/reline.rb#29
1003
+ def width=(_); end
1004
+
1005
+ class << self
1006
+ # source://reline//lib/reline.rb#29
1007
+ def [](*_arg0); end
1008
+
1009
+ # source://reline//lib/reline.rb#29
1010
+ def inspect; end
1011
+
1012
+ # source://reline//lib/reline.rb#29
1013
+ def keyword_init?; end
1014
+
1015
+ # source://reline//lib/reline.rb#29
1016
+ def members; end
1017
+
1018
+ # source://reline//lib/reline.rb#29
1019
+ def new(*_arg0); end
1020
+ end
1021
+ end
1022
+
1023
+ # source://reline//lib/reline/io/dumb.rb#3
1024
+ class Reline::Dumb < ::Reline::IO
1025
+ # @return [Dumb] a new instance of Dumb
1026
+ #
1027
+ # source://reline//lib/reline/io/dumb.rb#8
1028
+ def initialize(encoding: T.unsafe(nil)); end
1029
+
1030
+ # source://reline//lib/reline/io/dumb.rb#49
1031
+ def buffered_output; end
1032
+
1033
+ # source://reline//lib/reline/io/dumb.rb#101
1034
+ def clear_screen; end
1035
+
1036
+ # source://reline//lib/reline/io/dumb.rb#76
1037
+ def cursor_pos; end
1038
+
1039
+ # source://reline//lib/reline/io/dumb.rb#118
1040
+ def deprep(otio); end
1041
+
1042
+ # @return [Boolean]
1043
+ #
1044
+ # source://reline//lib/reline/io/dumb.rb#17
1045
+ def dumb?; end
1046
+
1047
+ # source://reline//lib/reline/io/dumb.rb#21
1048
+ def encoding; end
1049
+
1050
+ # source://reline//lib/reline/io/dumb.rb#95
1051
+ def erase_after_cursor; end
1052
+
1053
+ # source://reline//lib/reline/io/dumb.rb#72
1054
+ def get_screen_size; end
1055
+
1056
+ # source://reline//lib/reline/io/dumb.rb#53
1057
+ def getc(_timeout_second); end
1058
+
1059
+ # source://reline//lib/reline/io/dumb.rb#80
1060
+ def hide_cursor; end
1061
+
1062
+ # @return [Boolean]
1063
+ #
1064
+ # source://reline//lib/reline/io/dumb.rb#111
1065
+ def in_pasting?; end
1066
+
1067
+ # source://reline//lib/reline/io/dumb.rb#37
1068
+ def input=(val); end
1069
+
1070
+ # source://reline//lib/reline/io/dumb.rb#86
1071
+ def move_cursor_column(val); end
1072
+
1073
+ # source://reline//lib/reline/io/dumb.rb#92
1074
+ def move_cursor_down(val); end
1075
+
1076
+ # source://reline//lib/reline/io/dumb.rb#89
1077
+ def move_cursor_up(val); end
1078
+
1079
+ # Sets the attribute output
1080
+ #
1081
+ # @param value the value to set the attribute output to.
1082
+ #
1083
+ # source://reline//lib/reline/io/dumb.rb#6
1084
+ def output=(_arg0); end
1085
+
1086
+ # source://reline//lib/reline/io/dumb.rb#115
1087
+ def prep; end
1088
+
1089
+ # source://reline//lib/reline/io/dumb.rb#98
1090
+ def scroll_down(val); end
1091
+
1092
+ # source://reline//lib/reline/io/dumb.rb#34
1093
+ def set_default_key_bindings(_); end
1094
+
1095
+ # source://reline//lib/reline/io/dumb.rb#104
1096
+ def set_screen_size(rows, columns); end
1097
+
1098
+ # source://reline//lib/reline/io/dumb.rb#108
1099
+ def set_winch_handler(&handler); end
1100
+
1101
+ # source://reline//lib/reline/io/dumb.rb#83
1102
+ def show_cursor; end
1103
+
1104
+ # source://reline//lib/reline/io/dumb.rb#68
1105
+ def ungetc(c); end
1106
+
1107
+ # source://reline//lib/reline/io/dumb.rb#41
1108
+ def with_raw_input; end
1109
+
1110
+ # source://reline//lib/reline/io/dumb.rb#45
1111
+ def write(string); end
1112
+ end
1113
+
1114
+ # Do not send color reset sequence
1115
+ #
1116
+ # source://reline//lib/reline/io/dumb.rb#4
1117
+ Reline::Dumb::RESET_COLOR = T.let(T.unsafe(nil), String)
1118
+
1119
+ # NOTE: For making compatible with the rb-readline gem
1120
+ #
1121
+ # source://reline//lib/reline.rb#15
1122
+ Reline::FILENAME_COMPLETION_PROC = T.let(T.unsafe(nil), T.untyped)
1123
+
1124
+ # source://reline//lib/reline/face.rb#3
1125
+ class Reline::Face
1126
+ class << self
1127
+ # source://reline//lib/reline/face.rb#169
1128
+ def [](name); end
1129
+
1130
+ # source://reline//lib/reline/face.rb#173
1131
+ def config(name, &block); end
1132
+
1133
+ # source://reline//lib/reline/face.rb#178
1134
+ def configs; end
1135
+
1136
+ # source://reline//lib/reline/face.rb#164
1137
+ def force_truecolor; end
1138
+
1139
+ # source://reline//lib/reline/face.rb#182
1140
+ def load_initial_configs; end
1141
+
1142
+ # source://reline//lib/reline/face.rb#195
1143
+ def reset_to_initial_configs; end
1144
+
1145
+ # @return [Boolean]
1146
+ #
1147
+ # source://reline//lib/reline/face.rb#160
1148
+ def truecolor?; end
1149
+ end
1150
+ end
1151
+
1152
+ # source://reline//lib/reline/face.rb#58
1153
+ class Reline::Face::Config
1154
+ # @return [Config] a new instance of Config
1155
+ #
1156
+ # source://reline//lib/reline/face.rb#62
1157
+ def initialize(name, &block); end
1158
+
1159
+ # source://reline//lib/reline/face.rb#84
1160
+ def [](name); end
1161
+
1162
+ # source://reline//lib/reline/face.rb#72
1163
+ def define(name, **values); end
1164
+
1165
+ # Returns the value of attribute definition.
1166
+ #
1167
+ # source://reline//lib/reline/face.rb#70
1168
+ def definition; end
1169
+
1170
+ # source://reline//lib/reline/face.rb#77
1171
+ def reconfigure; end
1172
+
1173
+ private
1174
+
1175
+ # source://reline//lib/reline/face.rb#126
1176
+ def format_to_sgr(ordered_values); end
1177
+
1178
+ # @return [Boolean]
1179
+ #
1180
+ # source://reline//lib/reline/face.rb#153
1181
+ def rgb_expression?(color); end
1182
+
1183
+ # source://reline//lib/reline/face.rb#90
1184
+ def sgr_rgb(key, value); end
1185
+
1186
+ # source://reline//lib/reline/face.rb#108
1187
+ def sgr_rgb_256color(key, value); end
1188
+
1189
+ # source://reline//lib/reline/face.rb#99
1190
+ def sgr_rgb_truecolor(key, value); end
1191
+ end
1192
+
1193
+ # source://reline//lib/reline/face.rb#59
1194
+ Reline::Face::Config::ESSENTIAL_DEFINE_NAMES = T.let(T.unsafe(nil), Array)
1195
+
1196
+ # source://reline//lib/reline/face.rb#60
1197
+ Reline::Face::Config::RESET_SGR = T.let(T.unsafe(nil), String)
1198
+
1199
+ # source://reline//lib/reline/face.rb#4
1200
+ Reline::Face::SGR_PARAMETERS = T.let(T.unsafe(nil), Hash)
1201
+
1202
+ # source://reline//lib/reline.rb#527
1203
+ Reline::HISTORY = T.let(T.unsafe(nil), Reline::History)
1204
+
1205
+ # source://reline//lib/reline/history.rb#1
1206
+ class Reline::History < ::Array
1207
+ # @return [History] a new instance of History
1208
+ #
1209
+ # source://reline//lib/reline/history.rb#2
1210
+ def initialize(config); end
1211
+
1212
+ # source://reline//lib/reline/history.rb#52
1213
+ def <<(val); end
1214
+
1215
+ # source://reline//lib/reline/history.rb#15
1216
+ def [](index); end
1217
+
1218
+ # source://reline//lib/reline/history.rb#20
1219
+ def []=(index, val); end
1220
+
1221
+ # source://reline//lib/reline/history.rb#25
1222
+ def concat(*val); end
1223
+
1224
+ # source://reline//lib/reline/history.rb#10
1225
+ def delete_at(index); end
1226
+
1227
+ # source://reline//lib/reline/history.rb#31
1228
+ def push(*val); end
1229
+
1230
+ # source://reline//lib/reline/history.rb#6
1231
+ def to_s; end
1232
+
1233
+ private
1234
+
1235
+ # @raise [IndexError]
1236
+ #
1237
+ # source://reline//lib/reline/history.rb#62
1238
+ def check_index(index); end
1239
+ end
1240
+
1241
+ # source://reline//lib/reline/io.rb#3
1242
+ class Reline::IO
1243
+ # @return [Boolean]
1244
+ #
1245
+ # source://reline//lib/reline/io.rb#27
1246
+ def dumb?; end
1247
+
1248
+ # Read a single encoding valid character from the input.
1249
+ #
1250
+ # source://reline//lib/reline/io.rb#40
1251
+ def read_single_char(timeout_second); end
1252
+
1253
+ # source://reline//lib/reline/io.rb#35
1254
+ def reset_color_sequence; end
1255
+
1256
+ # @return [Boolean]
1257
+ #
1258
+ # source://reline//lib/reline/io.rb#31
1259
+ def win?; end
1260
+
1261
+ class << self
1262
+ # source://reline//lib/reline/io.rb#6
1263
+ def decide_io_gate; end
1264
+ end
1265
+ end
1266
+
1267
+ # source://reline//lib/reline.rb#520
1268
+ Reline::IOGate = T.let(T.unsafe(nil), Reline::ANSI)
1269
+
1270
+ # EOF key: { char: nil, method_symbol: nil }
1271
+ # Other key: { char: String, method_symbol: Symbol }
1272
+ #
1273
+ # source://reline//lib/reline.rb#22
1274
+ class Reline::Key < ::Struct
1275
+ # Returns the value of attribute char
1276
+ #
1277
+ # @return [Object] the current value of char
1278
+ #
1279
+ # source://reline//lib/reline.rb#22
1280
+ def char; end
1281
+
1282
+ # Sets the attribute char
1283
+ #
1284
+ # @param value [Object] the value to set the attribute char to.
1285
+ # @return [Object] the newly set value
1286
+ #
1287
+ # source://reline//lib/reline.rb#22
1288
+ def char=(_); end
1289
+
1290
+ # For dialog_proc `key.match?(dialog.name)`
1291
+ #
1292
+ # @return [Boolean]
1293
+ #
1294
+ # source://reline//lib/reline.rb#24
1295
+ def match?(sym); end
1296
+
1297
+ # Returns the value of attribute method_symbol
1298
+ #
1299
+ # @return [Object] the current value of method_symbol
1300
+ #
1301
+ # source://reline//lib/reline.rb#22
1302
+ def method_symbol; end
1303
+
1304
+ # Sets the attribute method_symbol
1305
+ #
1306
+ # @param value [Object] the value to set the attribute method_symbol to.
1307
+ # @return [Object] the newly set value
1308
+ #
1309
+ # source://reline//lib/reline.rb#22
1310
+ def method_symbol=(_); end
1311
+
1312
+ # Returns the value of attribute unused_boolean
1313
+ #
1314
+ # @return [Object] the current value of unused_boolean
1315
+ #
1316
+ # source://reline//lib/reline.rb#22
1317
+ def unused_boolean; end
1318
+
1319
+ # Sets the attribute unused_boolean
1320
+ #
1321
+ # @param value [Object] the value to set the attribute unused_boolean to.
1322
+ # @return [Object] the newly set value
1323
+ #
1324
+ # source://reline//lib/reline.rb#22
1325
+ def unused_boolean=(_); end
1326
+
1327
+ class << self
1328
+ # source://reline//lib/reline.rb#22
1329
+ def [](*_arg0); end
1330
+
1331
+ # source://reline//lib/reline.rb#22
1332
+ def inspect; end
1333
+
1334
+ # source://reline//lib/reline.rb#22
1335
+ def keyword_init?; end
1336
+
1337
+ # source://reline//lib/reline.rb#22
1338
+ def members; end
1339
+
1340
+ # source://reline//lib/reline.rb#22
1341
+ def new(*_arg0); end
1342
+ end
1343
+ end
1344
+
1345
+ # source://reline//lib/reline/key_actor/base.rb#1
1346
+ class Reline::KeyActor::Base
1347
+ # @return [Base] a new instance of Base
1348
+ #
1349
+ # source://reline//lib/reline/key_actor/base.rb#2
1350
+ def initialize(mappings = T.unsafe(nil)); end
1351
+
1352
+ # source://reline//lib/reline/key_actor/base.rb#18
1353
+ def add(key, func); end
1354
+
1355
+ # source://reline//lib/reline/key_actor/base.rb#8
1356
+ def add_mappings(mappings); end
1357
+
1358
+ # source://reline//lib/reline/key_actor/base.rb#33
1359
+ def clear; end
1360
+
1361
+ # source://reline//lib/reline/key_actor/base.rb#29
1362
+ def get(key); end
1363
+
1364
+ # @return [Boolean]
1365
+ #
1366
+ # source://reline//lib/reline/key_actor/base.rb#25
1367
+ def matching?(key); end
1368
+ end
1369
+
1370
+ # source://reline//lib/reline/key_actor/composite.rb#1
1371
+ class Reline::KeyActor::Composite
1372
+ # @return [Composite] a new instance of Composite
1373
+ #
1374
+ # source://reline//lib/reline/key_actor/composite.rb#2
1375
+ def initialize(key_actors); end
1376
+
1377
+ # source://reline//lib/reline/key_actor/composite.rb#10
1378
+ def get(key); end
1379
+
1380
+ # @return [Boolean]
1381
+ #
1382
+ # source://reline//lib/reline/key_actor/composite.rb#6
1383
+ def matching?(key); end
1384
+ end
1385
+
1386
+ # source://reline//lib/reline/key_actor/emacs.rb#2
1387
+ Reline::KeyActor::EMACS_MAPPING = T.let(T.unsafe(nil), Array)
1388
+
1389
+ # source://reline//lib/reline/key_actor/vi_command.rb#2
1390
+ Reline::KeyActor::VI_COMMAND_MAPPING = T.let(T.unsafe(nil), Array)
1391
+
1392
+ # source://reline//lib/reline/key_actor/vi_insert.rb#2
1393
+ Reline::KeyActor::VI_INSERT_MAPPING = T.let(T.unsafe(nil), Array)
1394
+
1395
+ # source://reline//lib/reline/key_stroke.rb#1
1396
+ class Reline::KeyStroke
1397
+ # @return [KeyStroke] a new instance of KeyStroke
1398
+ #
1399
+ # source://reline//lib/reline/key_stroke.rb#8
1400
+ def initialize(config, encoding); end
1401
+
1402
+ # Returns the value of attribute encoding.
1403
+ #
1404
+ # source://reline//lib/reline/key_stroke.rb#6
1405
+ def encoding; end
1406
+
1407
+ # Sets the attribute encoding
1408
+ #
1409
+ # @param value the value to set the attribute encoding to.
1410
+ #
1411
+ # source://reline//lib/reline/key_stroke.rb#6
1412
+ def encoding=(_arg0); end
1413
+
1414
+ # source://reline//lib/reline/key_stroke.rb#44
1415
+ def expand(input); end
1416
+
1417
+ # source://reline//lib/reline/key_stroke.rb#22
1418
+ def match_status(input); end
1419
+
1420
+ private
1421
+
1422
+ # source://reline//lib/reline/key_stroke.rb#116
1423
+ def key_mapping; end
1424
+
1425
+ # returns match status of CSI/SS3 sequence and matched length
1426
+ #
1427
+ # source://reline//lib/reline/key_stroke.rb#80
1428
+ def match_unknown_escape_sequence(input, vi_mode: T.unsafe(nil)); end
1429
+ end
1430
+
1431
+ # source://reline//lib/reline/key_stroke.rb#4
1432
+ Reline::KeyStroke::CSI_INTERMEDIATE_BYTES_RANGE = T.let(T.unsafe(nil), Range)
1433
+
1434
+ # source://reline//lib/reline/key_stroke.rb#3
1435
+ Reline::KeyStroke::CSI_PARAMETER_BYTES_RANGE = T.let(T.unsafe(nil), Range)
1436
+
1437
+ # source://reline//lib/reline/key_stroke.rb#2
1438
+ Reline::KeyStroke::ESC_BYTE = T.let(T.unsafe(nil), Integer)
1439
+
1440
+ # Input partially matches to a key sequence
1441
+ #
1442
+ # source://reline//lib/reline/key_stroke.rb#16
1443
+ Reline::KeyStroke::MATCHED = T.let(T.unsafe(nil), Symbol)
1444
+
1445
+ # Input exactly matches to a key sequence
1446
+ #
1447
+ # source://reline//lib/reline/key_stroke.rb#14
1448
+ Reline::KeyStroke::MATCHING = T.let(T.unsafe(nil), Symbol)
1449
+
1450
+ # Input matches to a key sequence and the key sequence is a prefix of another key sequence
1451
+ #
1452
+ # source://reline//lib/reline/key_stroke.rb#18
1453
+ Reline::KeyStroke::MATCHING_MATCHED = T.let(T.unsafe(nil), Symbol)
1454
+
1455
+ # Input does not match to any key sequence
1456
+ #
1457
+ # source://reline//lib/reline/key_stroke.rb#20
1458
+ Reline::KeyStroke::UNMATCHED = T.let(T.unsafe(nil), Symbol)
1459
+
1460
+ # source://reline//lib/reline/kill_ring.rb#1
1461
+ class Reline::KillRing
1462
+ include ::Enumerable
1463
+
1464
+ # @return [KillRing] a new instance of KillRing
1465
+ #
1466
+ # source://reline//lib/reline/kill_ring.rb#61
1467
+ def initialize(max = T.unsafe(nil)); end
1468
+
1469
+ # source://reline//lib/reline/kill_ring.rb#68
1470
+ def append(string, before_p = T.unsafe(nil)); end
1471
+
1472
+ # source://reline//lib/reline/kill_ring.rb#116
1473
+ def each; end
1474
+
1475
+ # source://reline//lib/reline/kill_ring.rb#83
1476
+ def process; end
1477
+
1478
+ # source://reline//lib/reline/kill_ring.rb#96
1479
+ def yank; end
1480
+
1481
+ # source://reline//lib/reline/kill_ring.rb#106
1482
+ def yank_pop; end
1483
+ end
1484
+
1485
+ # source://reline//lib/reline/kill_ring.rb#21
1486
+ class Reline::KillRing::RingBuffer
1487
+ # @return [RingBuffer] a new instance of RingBuffer
1488
+ #
1489
+ # source://reline//lib/reline/kill_ring.rb#25
1490
+ def initialize(max = T.unsafe(nil)); end
1491
+
1492
+ # source://reline//lib/reline/kill_ring.rb#31
1493
+ def <<(point); end
1494
+
1495
+ # @return [Boolean]
1496
+ #
1497
+ # source://reline//lib/reline/kill_ring.rb#56
1498
+ def empty?; end
1499
+
1500
+ # Returns the value of attribute head.
1501
+ #
1502
+ # source://reline//lib/reline/kill_ring.rb#23
1503
+ def head; end
1504
+
1505
+ # Returns the value of attribute size.
1506
+ #
1507
+ # source://reline//lib/reline/kill_ring.rb#22
1508
+ def size; end
1509
+ end
1510
+
1511
+ # source://reline//lib/reline/kill_ring.rb#11
1512
+ class Reline::KillRing::RingPoint < ::Struct
1513
+ # @return [RingPoint] a new instance of RingPoint
1514
+ #
1515
+ # source://reline//lib/reline/kill_ring.rb#12
1516
+ def initialize(str); end
1517
+
1518
+ # source://reline//lib/reline/kill_ring.rb#16
1519
+ def ==(other); end
1520
+
1521
+ # Returns the value of attribute backward
1522
+ #
1523
+ # @return [Object] the current value of backward
1524
+ #
1525
+ # source://reline//lib/reline/kill_ring.rb#11
1526
+ def backward; end
1527
+
1528
+ # Sets the attribute backward
1529
+ #
1530
+ # @param value [Object] the value to set the attribute backward to.
1531
+ # @return [Object] the newly set value
1532
+ #
1533
+ # source://reline//lib/reline/kill_ring.rb#11
1534
+ def backward=(_); end
1535
+
1536
+ # Returns the value of attribute forward
1537
+ #
1538
+ # @return [Object] the current value of forward
1539
+ #
1540
+ # source://reline//lib/reline/kill_ring.rb#11
1541
+ def forward; end
1542
+
1543
+ # Sets the attribute forward
1544
+ #
1545
+ # @param value [Object] the value to set the attribute forward to.
1546
+ # @return [Object] the newly set value
1547
+ #
1548
+ # source://reline//lib/reline/kill_ring.rb#11
1549
+ def forward=(_); end
1550
+
1551
+ # Returns the value of attribute str
1552
+ #
1553
+ # @return [Object] the current value of str
1554
+ #
1555
+ # source://reline//lib/reline/kill_ring.rb#11
1556
+ def str; end
1557
+
1558
+ # Sets the attribute str
1559
+ #
1560
+ # @param value [Object] the value to set the attribute str to.
1561
+ # @return [Object] the newly set value
1562
+ #
1563
+ # source://reline//lib/reline/kill_ring.rb#11
1564
+ def str=(_); end
1565
+
1566
+ class << self
1567
+ # source://reline//lib/reline/kill_ring.rb#11
1568
+ def [](*_arg0); end
1569
+
1570
+ # source://reline//lib/reline/kill_ring.rb#11
1571
+ def inspect; end
1572
+
1573
+ # source://reline//lib/reline/kill_ring.rb#11
1574
+ def keyword_init?; end
1575
+
1576
+ # source://reline//lib/reline/kill_ring.rb#11
1577
+ def members; end
1578
+
1579
+ # source://reline//lib/reline/kill_ring.rb#11
1580
+ def new(*_arg0); end
1581
+ end
1582
+ end
1583
+
1584
+ # source://reline//lib/reline/kill_ring.rb#6
1585
+ Reline::KillRing::State::CONTINUED = T.let(T.unsafe(nil), Symbol)
1586
+
1587
+ # source://reline//lib/reline/kill_ring.rb#5
1588
+ Reline::KillRing::State::FRESH = T.let(T.unsafe(nil), Symbol)
1589
+
1590
+ # source://reline//lib/reline/kill_ring.rb#7
1591
+ Reline::KillRing::State::PROCESSED = T.let(T.unsafe(nil), Symbol)
1592
+
1593
+ # source://reline//lib/reline/kill_ring.rb#8
1594
+ Reline::KillRing::State::YANK = T.let(T.unsafe(nil), Symbol)
1595
+
1596
+ # source://reline//lib/reline/line_editor.rb#6
1597
+ class Reline::LineEditor
1598
+ # @return [LineEditor] a new instance of LineEditor
1599
+ #
1600
+ # source://reline//lib/reline/line_editor.rb#73
1601
+ def initialize(config); end
1602
+
1603
+ # source://reline//lib/reline/line_editor.rb#685
1604
+ def add_dialog_proc(name, p, context = T.unsafe(nil)); end
1605
+
1606
+ # Returns the value of attribute auto_indent_proc.
1607
+ #
1608
+ # source://reline//lib/reline/line_editor.rb#14
1609
+ def auto_indent_proc; end
1610
+
1611
+ # Sets the attribute auto_indent_proc
1612
+ #
1613
+ # @param value the value to set the attribute auto_indent_proc to.
1614
+ #
1615
+ # source://reline//lib/reline/line_editor.rb#14
1616
+ def auto_indent_proc=(_arg0); end
1617
+
1618
+ # TODO: Use "private alias_method" idiom after drop Ruby 2.5.
1619
+ #
1620
+ # source://reline//lib/reline/line_editor.rb#8
1621
+ def byte_pointer; end
1622
+
1623
+ # source://reline//lib/reline/line_editor.rb#1234
1624
+ def byte_pointer=(val); end
1625
+
1626
+ # source://reline//lib/reline/line_editor.rb#398
1627
+ def calculate_overlay_levels(overlay_levels); end
1628
+
1629
+ # source://reline//lib/reline/line_editor.rb#1074
1630
+ def call_completion_proc(pre, target, post, quote); end
1631
+
1632
+ # source://reline//lib/reline/line_editor.rb#1081
1633
+ def call_completion_proc_with_checking_args(pre, target, post); end
1634
+
1635
+ # source://reline//lib/reline/line_editor.rb#446
1636
+ def clear_dialogs; end
1637
+
1638
+ # Returns the value of attribute completion_append_character.
1639
+ #
1640
+ # source://reline//lib/reline/line_editor.rb#11
1641
+ def completion_append_character; end
1642
+
1643
+ # Sets the attribute completion_append_character
1644
+ #
1645
+ # @param value the value to set the attribute completion_append_character to.
1646
+ #
1647
+ # source://reline//lib/reline/line_editor.rb#11
1648
+ def completion_append_character=(_arg0); end
1649
+
1650
+ # Returns the value of attribute completion_proc.
1651
+ #
1652
+ # source://reline//lib/reline/line_editor.rb#10
1653
+ def completion_proc; end
1654
+
1655
+ # Sets the attribute completion_proc
1656
+ #
1657
+ # @param value the value to set the attribute completion_proc to.
1658
+ #
1659
+ # source://reline//lib/reline/line_editor.rb#10
1660
+ def completion_proc=(_arg0); end
1661
+
1662
+ # source://reline//lib/reline/line_editor.rb#1175
1663
+ def confirm_multiline_termination; end
1664
+
1665
+ # Returns the value of attribute confirm_multiline_termination_proc.
1666
+ #
1667
+ # source://reline//lib/reline/line_editor.rb#9
1668
+ def confirm_multiline_termination_proc; end
1669
+
1670
+ # Sets the attribute confirm_multiline_termination_proc
1671
+ #
1672
+ # @param value the value to set the attribute confirm_multiline_termination_proc to.
1673
+ #
1674
+ # source://reline//lib/reline/line_editor.rb#9
1675
+ def confirm_multiline_termination_proc=(_arg0); end
1676
+
1677
+ # source://reline//lib/reline/line_editor.rb#304
1678
+ def current_byte_pointer_cursor; end
1679
+
1680
+ # source://reline//lib/reline/line_editor.rb#1124
1681
+ def current_line; end
1682
+
1683
+ # source://reline//lib/reline/line_editor.rb#1200
1684
+ def delete_text(start = T.unsafe(nil), length = T.unsafe(nil)); end
1685
+
1686
+ # source://reline//lib/reline/line_editor.rb#867
1687
+ def dialog_proc_scope_completion_journey_data; end
1688
+
1689
+ # Returns the value of attribute dig_perfect_match_proc.
1690
+ #
1691
+ # source://reline//lib/reline/line_editor.rb#15
1692
+ def dig_perfect_match_proc; end
1693
+
1694
+ # Sets the attribute dig_perfect_match_proc
1695
+ #
1696
+ # @param value the value to set the attribute dig_perfect_match_proc to.
1697
+ #
1698
+ # source://reline//lib/reline/line_editor.rb#15
1699
+ def dig_perfect_match_proc=(_arg0); end
1700
+
1701
+ # source://reline//lib/reline/line_editor.rb#794
1702
+ def editing_mode; end
1703
+
1704
+ # source://reline//lib/reline/line_editor.rb#84
1705
+ def encoding; end
1706
+
1707
+ # @return [Boolean]
1708
+ #
1709
+ # source://reline//lib/reline/line_editor.rb#220
1710
+ def eof?; end
1711
+
1712
+ # source://reline//lib/reline/line_editor.rb#216
1713
+ def finalize; end
1714
+
1715
+ # source://reline//lib/reline/line_editor.rb#1254
1716
+ def finish; end
1717
+
1718
+ # @return [Boolean]
1719
+ #
1720
+ # source://reline//lib/reline/line_editor.rb#1250
1721
+ def finished?; end
1722
+
1723
+ # source://reline//lib/reline/line_editor.rb#168
1724
+ def handle_signal; end
1725
+
1726
+ # source://reline//lib/reline/line_editor.rb#1006
1727
+ def input_key(key); end
1728
+
1729
+ # source://reline//lib/reline/line_editor.rb#1180
1730
+ def insert_multiline_text(text); end
1731
+
1732
+ # source://reline//lib/reline/line_editor.rb#1190
1733
+ def insert_text(text); end
1734
+
1735
+ # source://reline//lib/reline/line_editor.rb#80
1736
+ def io_gate; end
1737
+
1738
+ # source://reline//lib/reline/line_editor.rb#1120
1739
+ def line; end
1740
+
1741
+ # source://reline//lib/reline/line_editor.rb#351
1742
+ def modified_lines; end
1743
+
1744
+ # source://reline//lib/reline/line_editor.rb#273
1745
+ def multiline_off; end
1746
+
1747
+ # source://reline//lib/reline/line_editor.rb#269
1748
+ def multiline_on; end
1749
+
1750
+ # Returns the value of attribute output_modifier_proc.
1751
+ #
1752
+ # source://reline//lib/reline/line_editor.rb#12
1753
+ def output_modifier_proc; end
1754
+
1755
+ # Sets the attribute output_modifier_proc
1756
+ #
1757
+ # @param value the value to set the attribute output_modifier_proc to.
1758
+ #
1759
+ # source://reline//lib/reline/line_editor.rb#12
1760
+ def output_modifier_proc=(_arg0); end
1761
+
1762
+ # source://reline//lib/reline/line_editor.rb#357
1763
+ def prompt_list; end
1764
+
1765
+ # Returns the value of attribute prompt_proc.
1766
+ #
1767
+ # source://reline//lib/reline/line_editor.rb#13
1768
+ def prompt_proc; end
1769
+
1770
+ # Sets the attribute prompt_proc
1771
+ #
1772
+ # @param value the value to set the attribute prompt_proc to.
1773
+ #
1774
+ # source://reline//lib/reline/line_editor.rb#13
1775
+ def prompt_proc=(_arg0); end
1776
+
1777
+ # source://reline//lib/reline/line_editor.rb#1051
1778
+ def push_undo_redo(modified); end
1779
+
1780
+ # source://reline//lib/reline/line_editor.rb#473
1781
+ def render; end
1782
+
1783
+ # source://reline//lib/reline/line_editor.rb#461
1784
+ def render_finished; end
1785
+
1786
+ # source://reline//lib/reline/line_editor.rb#406
1787
+ def render_line_differential(old_items, new_items); end
1788
+
1789
+ # source://reline//lib/reline/line_editor.rb#557
1790
+ def rerender; end
1791
+
1792
+ # source://reline//lib/reline/line_editor.rb#141
1793
+ def reset(prompt = T.unsafe(nil)); end
1794
+
1795
+ # source://reline//lib/reline/line_editor.rb#261
1796
+ def reset_line; end
1797
+
1798
+ # source://reline//lib/reline/line_editor.rb#224
1799
+ def reset_variables(prompt = T.unsafe(nil)); end
1800
+
1801
+ # source://reline//lib/reline/line_editor.rb#553
1802
+ def rest_height(wrapped_cursor_y); end
1803
+
1804
+ # source://reline//lib/reline/line_editor.rb#1139
1805
+ def retrieve_completion_block; end
1806
+
1807
+ # source://reline//lib/reline/line_editor.rb#363
1808
+ def screen_height; end
1809
+
1810
+ # source://reline//lib/reline/line_editor.rb#371
1811
+ def screen_scroll_top; end
1812
+
1813
+ # source://reline//lib/reline/line_editor.rb#367
1814
+ def screen_width; end
1815
+
1816
+ # source://reline//lib/reline/line_editor.rb#1064
1817
+ def scroll_into_view; end
1818
+
1819
+ # source://reline//lib/reline/line_editor.rb#1128
1820
+ def set_current_line(line, byte_pointer = T.unsafe(nil)); end
1821
+
1822
+ # source://reline//lib/reline/line_editor.rb#88
1823
+ def set_pasting_state(in_pasting); end
1824
+
1825
+ # source://reline//lib/reline/line_editor.rb#207
1826
+ def set_signal_handlers; end
1827
+
1828
+ # source://reline//lib/reline/line_editor.rb#996
1829
+ def update(key); end
1830
+
1831
+ # source://reline//lib/reline/line_editor.rb#453
1832
+ def update_dialogs(key = T.unsafe(nil)); end
1833
+
1834
+ # source://reline//lib/reline/line_editor.rb#549
1835
+ def upper_space_height(wrapped_cursor_y); end
1836
+
1837
+ # source://reline//lib/reline/line_editor.rb#1242
1838
+ def whole_buffer; end
1839
+
1840
+ # source://reline//lib/reline/line_editor.rb#1238
1841
+ def whole_lines; end
1842
+
1843
+ # source://reline//lib/reline/line_editor.rb#343
1844
+ def with_cache(key, *deps); end
1845
+
1846
+ # source://reline//lib/reline/line_editor.rb#949
1847
+ def wrap_method_call(method_symbol, key, with_operator); end
1848
+
1849
+ # Calculate cursor position in word wrapped content.
1850
+ #
1851
+ # source://reline//lib/reline/line_editor.rb#437
1852
+ def wrapped_cursor_position; end
1853
+
1854
+ # source://reline//lib/reline/line_editor.rb#375
1855
+ def wrapped_prompt_and_input_lines; end
1856
+
1857
+ private
1858
+
1859
+ # @return [Boolean]
1860
+ #
1861
+ # source://reline//lib/reline/line_editor.rb#939
1862
+ def argumentable?(method_obj); end
1863
+
1864
+ # source://reline//lib/reline/line_editor.rb#1413
1865
+ def backward_char(key, arg: T.unsafe(nil)); end
1866
+
1867
+ # source://reline//lib/reline/line_editor.rb#1700
1868
+ def backward_delete_char(key, arg: T.unsafe(nil)); end
1869
+
1870
+ # source://reline//lib/reline/line_editor.rb#1838
1871
+ def backward_kill_word(key); end
1872
+
1873
+ # source://reline//lib/reline/line_editor.rb#1818
1874
+ def backward_word(key); end
1875
+
1876
+ # source://reline//lib/reline/line_editor.rb#1652
1877
+ def beginning_of_history(key); end
1878
+
1879
+ # source://reline//lib/reline/line_editor.rb#1422
1880
+ def beginning_of_line(key); end
1881
+
1882
+ # @return [Boolean]
1883
+ #
1884
+ # source://reline//lib/reline/line_editor.rb#1246
1885
+ def buffer_empty?; end
1886
+
1887
+ # source://reline//lib/reline/line_editor.rb#1265
1888
+ def byteinsert(str, byte_pointer, other); end
1889
+
1890
+ # source://reline//lib/reline/line_editor.rb#1259
1891
+ def byteslice!(str, byte_pointer, size); end
1892
+
1893
+ # source://reline//lib/reline/line_editor.rb#308
1894
+ def calculate_nearest_cursor(cursor); end
1895
+
1896
+ # source://reline//lib/reline/line_editor.rb#1272
1897
+ def calculate_width(str, allow_escape_code = T.unsafe(nil)); end
1898
+
1899
+ # source://reline//lib/reline/line_editor.rb#1878
1900
+ def capitalize_word(key); end
1901
+
1902
+ # source://reline//lib/reline/line_editor.rb#95
1903
+ def check_mode_string; end
1904
+
1905
+ # source://reline//lib/reline/line_editor.rb#109
1906
+ def check_multiline_prompt(buffer, mode_string); end
1907
+
1908
+ # source://reline//lib/reline/line_editor.rb#972
1909
+ def cleanup_waiting; end
1910
+
1911
+ # source://reline//lib/reline/line_editor.rb#544
1912
+ def clear_rendered_screen_cache; end
1913
+
1914
+ # source://reline//lib/reline/line_editor.rb#1802
1915
+ def clear_screen(key); end
1916
+
1917
+ # source://reline//lib/reline/line_editor.rb#1292
1918
+ def complete(_key); end
1919
+
1920
+ # source://reline//lib/reline/line_editor.rb#1310
1921
+ def completion_journey_move(direction); end
1922
+
1923
+ # source://reline//lib/reline/line_editor.rb#1326
1924
+ def completion_journey_up(_key); end
1925
+
1926
+ # source://reline//lib/reline/line_editor.rb#1916
1927
+ def copy_for_vi(text); end
1928
+
1929
+ # source://reline//lib/reline/line_editor.rb#1764
1930
+ def delete_char(key); end
1931
+
1932
+ # source://reline//lib/reline/line_editor.rb#1778
1933
+ def delete_char_or_list(key); end
1934
+
1935
+ # source://reline//lib/reline/line_editor.rb#696
1936
+ def dialog_range(dialog, dialog_y); end
1937
+
1938
+ # source://reline//lib/reline/line_editor.rb#1891
1939
+ def downcase_word(key); end
1940
+
1941
+ # source://reline//lib/reline/line_editor.rb#2169
1942
+ def ed_argument_digit(key); end
1943
+
1944
+ # source://reline//lib/reline/line_editor.rb#1649
1945
+ def ed_beginning_of_history(key); end
1946
+
1947
+ # source://reline//lib/reline/line_editor.rb#1796
1948
+ def ed_clear_screen(key); end
1949
+
1950
+ # source://reline//lib/reline/line_editor.rb#2115
1951
+ def ed_delete_next_char(key, arg: T.unsafe(nil)); end
1952
+
1953
+ # source://reline//lib/reline/line_editor.rb#2027
1954
+ def ed_delete_prev_char(key, arg: T.unsafe(nil)); end
1955
+
1956
+ # source://reline//lib/reline/line_editor.rb#1830
1957
+ def ed_delete_prev_word(key); end
1958
+
1959
+ # source://reline//lib/reline/line_editor.rb#1370
1960
+ def ed_digit(key); end
1961
+
1962
+ # source://reline//lib/reline/line_editor.rb#1654
1963
+ def ed_end_of_history(key); end
1964
+
1965
+ # source://reline//lib/reline/line_editor.rb#1681
1966
+ def ed_force_submit(_key); end
1967
+
1968
+ # Editline:: +ed-insert+ (vi input: almost all; emacs: printable characters)
1969
+ # In insert mode, insert the input character left of the cursor
1970
+ # position. In replace mode, overwrite the character at the
1971
+ # cursor and move the cursor to the right by one character
1972
+ # position. Accept an argument to do this repeatedly. It is an
1973
+ # error if the input character is the NUL character (+Ctrl-@+).
1974
+ # Failure to enlarge the edit buffer also results in an error.
1975
+ # Editline:: +ed-digit+ (emacs: 0 to 9) If in argument input mode, append
1976
+ # the input digit to the argument being read. Otherwise, call
1977
+ # +ed-insert+. It is an error if the input character is not a
1978
+ # digit or if the existing argument is already greater than a
1979
+ # million.
1980
+ # GNU Readline:: +self-insert+ (a, b, A, 1, !, …) Insert yourself.
1981
+ #
1982
+ # source://reline//lib/reline/line_editor.rb#1353
1983
+ def ed_insert(str); end
1984
+
1985
+ # Editline:: +ed-kill-line+ (vi command: +D+, +Ctrl-K+; emacs: +Ctrl-K+,
1986
+ # +Ctrl-U+) + Kill from the cursor to the end of the line.
1987
+ # GNU Readline:: +kill-line+ (+C-k+) Kill the text from point to the end of
1988
+ # the line. With a negative numeric argument, kill backward
1989
+ # from the cursor to the beginning of the current line.
1990
+ #
1991
+ # source://reline//lib/reline/line_editor.rb#1707
1992
+ def ed_kill_line(key); end
1993
+
1994
+ # source://reline//lib/reline/line_editor.rb#1419
1995
+ def ed_move_to_beg(key); end
1996
+
1997
+ # source://reline//lib/reline/line_editor.rb#1432
1998
+ def ed_move_to_end(key); end
1999
+
2000
+ # source://reline//lib/reline/line_editor.rb#1659
2001
+ def ed_newline(key); end
2002
+
2003
+ # source://reline//lib/reline/line_editor.rb#1389
2004
+ def ed_next_char(key, arg: T.unsafe(nil)); end
2005
+
2006
+ # source://reline//lib/reline/line_editor.rb#1632
2007
+ def ed_next_history(key, arg: T.unsafe(nil)); end
2008
+
2009
+ # source://reline//lib/reline/line_editor.rb#1402
2010
+ def ed_prev_char(key, arg: T.unsafe(nil)); end
2011
+
2012
+ # source://reline//lib/reline/line_editor.rb#1615
2013
+ def ed_prev_history(key, arg: T.unsafe(nil)); end
2014
+
2015
+ # source://reline//lib/reline/line_editor.rb#1812
2016
+ def ed_prev_word(key); end
2017
+
2018
+ # source://reline//lib/reline/line_editor.rb#1578
2019
+ def ed_search_next_history(key, arg: T.unsafe(nil)); end
2020
+
2021
+ # source://reline//lib/reline/line_editor.rb#1563
2022
+ def ed_search_prev_history(key, arg: T.unsafe(nil)); end
2023
+
2024
+ # source://reline//lib/reline/line_editor.rb#1840
2025
+ def ed_transpose_chars(key); end
2026
+
2027
+ # source://reline//lib/reline/line_editor.rb#1857
2028
+ def ed_transpose_words(key); end
2029
+
2030
+ # do nothing
2031
+ #
2032
+ # source://reline//lib/reline/line_editor.rb#1332
2033
+ def ed_unassigned(key); end
2034
+
2035
+ # source://reline//lib/reline/line_editor.rb#1870
2036
+ def em_capitol_case(key); end
2037
+
2038
+ # source://reline//lib/reline/line_editor.rb#1751
2039
+ def em_delete(key); end
2040
+
2041
+ # source://reline//lib/reline/line_editor.rb#1820
2042
+ def em_delete_next_word(key); end
2043
+
2044
+ # source://reline//lib/reline/line_editor.rb#1766
2045
+ def em_delete_or_list(key); end
2046
+
2047
+ # source://reline//lib/reline/line_editor.rb#1686
2048
+ def em_delete_prev_char(key, arg: T.unsafe(nil)); end
2049
+
2050
+ # source://reline//lib/reline/line_editor.rb#2310
2051
+ def em_exchange_mark(key); end
2052
+
2053
+ # Editline:: +em-kill-line+ (not bound) Delete the entire contents of the
2054
+ # edit buffer and save it to the cut buffer. +vi-kill-line-prev+
2055
+ # GNU Readline:: +kill-whole-line+ (not bound) Kill all characters on the
2056
+ # current line, no matter where point is.
2057
+ #
2058
+ # source://reline//lib/reline/line_editor.rb#1743
2059
+ def em_kill_line(key); end
2060
+
2061
+ # source://reline//lib/reline/line_editor.rb#1906
2062
+ def em_kill_region(key); end
2063
+
2064
+ # source://reline//lib/reline/line_editor.rb#1880
2065
+ def em_lower_case(key); end
2066
+
2067
+ # source://reline//lib/reline/line_editor.rb#1804
2068
+ def em_next_word(key); end
2069
+
2070
+ # source://reline//lib/reline/line_editor.rb#2305
2071
+ def em_set_mark(key); end
2072
+
2073
+ # source://reline//lib/reline/line_editor.rb#1893
2074
+ def em_upper_case(key); end
2075
+
2076
+ # source://reline//lib/reline/line_editor.rb#1780
2077
+ def em_yank(key); end
2078
+
2079
+ # source://reline//lib/reline/line_editor.rb#1786
2080
+ def em_yank_pop(key); end
2081
+
2082
+ # source://reline//lib/reline/line_editor.rb#2318
2083
+ def emacs_editing_mode(key); end
2084
+
2085
+ # source://reline//lib/reline/line_editor.rb#1657
2086
+ def end_of_history(key); end
2087
+
2088
+ # source://reline//lib/reline/line_editor.rb#1435
2089
+ def end_of_line(key); end
2090
+
2091
+ # source://reline//lib/reline/line_editor.rb#2316
2092
+ def exchange_point_and_mark(key); end
2093
+
2094
+ # source://reline//lib/reline/line_editor.rb#802
2095
+ def filter_normalize_candidates(target, list); end
2096
+
2097
+ # source://reline//lib/reline/line_editor.rb#1400
2098
+ def forward_char(key, arg: T.unsafe(nil)); end
2099
+
2100
+ # source://reline//lib/reline/line_editor.rb#1551
2101
+ def forward_search_history(key); end
2102
+
2103
+ # source://reline//lib/reline/line_editor.rb#1810
2104
+ def forward_word(key); end
2105
+
2106
+ # source://reline//lib/reline/line_editor.rb#1437
2107
+ def generate_searcher(search_key); end
2108
+
2109
+ # source://reline//lib/reline/line_editor.rb#185
2110
+ def handle_interrupted; end
2111
+
2112
+ # source://reline//lib/reline/line_editor.rb#173
2113
+ def handle_resized; end
2114
+
2115
+ # source://reline//lib/reline/line_editor.rb#1576
2116
+ def history_search_backward(key, arg: T.unsafe(nil)); end
2117
+
2118
+ # source://reline//lib/reline/line_editor.rb#1591
2119
+ def history_search_forward(key, arg: T.unsafe(nil)); end
2120
+
2121
+ # @return [Boolean]
2122
+ #
2123
+ # source://reline//lib/reline/line_editor.rb#943
2124
+ def inclusive?(method_obj); end
2125
+
2126
+ # source://reline//lib/reline/line_editor.rb#1516
2127
+ def incremental_search_history(key); end
2128
+
2129
+ # source://reline//lib/reline/line_editor.rb#277
2130
+ def insert_new_line(cursor_line, next_line); end
2131
+
2132
+ # source://reline//lib/reline/line_editor.rb#1378
2133
+ def insert_raw_char(str, arg: T.unsafe(nil)); end
2134
+
2135
+ # source://reline//lib/reline/line_editor.rb#1276
2136
+ def key_delete(key); end
2137
+
2138
+ # source://reline//lib/reline/line_editor.rb#1284
2139
+ def key_newline(key); end
2140
+
2141
+ # Editline:: +ed-kill-line+ (vi command: +D+, +Ctrl-K+; emacs: +Ctrl-K+,
2142
+ # +Ctrl-U+) + Kill from the cursor to the end of the line.
2143
+ # GNU Readline:: +kill-line+ (+C-k+) Kill the text from point to the end of
2144
+ # the line. With a negative numeric argument, kill backward
2145
+ # from the cursor to the beginning of the current line.
2146
+ #
2147
+ # source://reline//lib/reline/line_editor.rb#1716
2148
+ def kill_line(key); end
2149
+
2150
+ # Editline:: +em-kill-line+ (not bound) Delete the entire contents of the
2151
+ # edit buffer and save it to the cut buffer. +vi-kill-line-prev+
2152
+ # GNU Readline:: +kill-whole-line+ (not bound) Kill all characters on the
2153
+ # current line, no matter where point is.
2154
+ #
2155
+ # source://reline//lib/reline/line_editor.rb#1749
2156
+ def kill_whole_line(key); end
2157
+
2158
+ # source://reline//lib/reline/line_editor.rb#1828
2159
+ def kill_word(key); end
2160
+
2161
+ # source://reline//lib/reline/line_editor.rb#798
2162
+ def menu(list); end
2163
+
2164
+ # source://reline//lib/reline/line_editor.rb#1318
2165
+ def menu_complete(_key); end
2166
+
2167
+ # source://reline//lib/reline/line_editor.rb#1322
2168
+ def menu_complete_backward(_key); end
2169
+
2170
+ # source://reline//lib/reline/line_editor.rb#786
2171
+ def modify_lines(before, complete); end
2172
+
2173
+ # source://reline//lib/reline/line_editor.rb#880
2174
+ def move_completed_list(direction); end
2175
+
2176
+ # source://reline//lib/reline/line_editor.rb#1593
2177
+ def move_history(history_pointer, line:, cursor:); end
2178
+
2179
+ # source://reline//lib/reline/line_editor.rb#2326
2180
+ def move_undo_redo(direction); end
2181
+
2182
+ # source://reline//lib/reline/line_editor.rb#1647
2183
+ def next_history(key, arg: T.unsafe(nil)); end
2184
+
2185
+ # source://reline//lib/reline/line_editor.rb#825
2186
+ def perform_completion(preposing, target, postposing, quote, list); end
2187
+
2188
+ # source://reline//lib/reline/line_editor.rb#2345
2189
+ def prev_action_state_value(type); end
2190
+
2191
+ # source://reline//lib/reline/line_editor.rb#1630
2192
+ def previous_history(key, arg: T.unsafe(nil)); end
2193
+
2194
+ # source://reline//lib/reline/line_editor.rb#1103
2195
+ def process_auto_indent(line_index = T.unsafe(nil), cursor_dependent: T.unsafe(nil), add_newline: T.unsafe(nil)); end
2196
+
2197
+ # source://reline//lib/reline/line_editor.rb#1334
2198
+ def process_insert(force: T.unsafe(nil)); end
2199
+
2200
+ # source://reline//lib/reline/line_editor.rb#983
2201
+ def process_key(key, method_symbol); end
2202
+
2203
+ # source://reline//lib/reline/line_editor.rb#2353
2204
+ def re_read_init_file(_key); end
2205
+
2206
+ # source://reline//lib/reline/line_editor.rb#2341
2207
+ def redo(_key); end
2208
+
2209
+ # Reflects lines to be rendered and new cursor position to the screen
2210
+ # by calculating the difference from the previous render.
2211
+ #
2212
+ # source://reline//lib/reline/line_editor.rb#507
2213
+ def render_differential(new_lines, new_cursor_x, new_cursor_y); end
2214
+
2215
+ # source://reline//lib/reline/line_editor.rb#892
2216
+ def retrieve_completion_journey_state; end
2217
+
2218
+ # source://reline//lib/reline/line_editor.rb#1546
2219
+ def reverse_search_history(key); end
2220
+
2221
+ # source://reline//lib/reline/line_editor.rb#907
2222
+ def run_for_operators(key, method_symbol); end
2223
+
2224
+ # source://reline//lib/reline/line_editor.rb#1553
2225
+ def search_history(prefix, pointer_range); end
2226
+
2227
+ # source://reline//lib/reline/line_editor.rb#2216
2228
+ def search_next_char(key, arg, need_prev_char: T.unsafe(nil), inclusive: T.unsafe(nil)); end
2229
+
2230
+ # source://reline//lib/reline/line_editor.rb#2263
2231
+ def search_prev_char(key, arg, need_next_char = T.unsafe(nil)); end
2232
+
2233
+ # Editline:: +ed-insert+ (vi input: almost all; emacs: printable characters)
2234
+ # In insert mode, insert the input character left of the cursor
2235
+ # position. In replace mode, overwrite the character at the
2236
+ # cursor and move the cursor to the right by one character
2237
+ # position. Accept an argument to do this repeatedly. It is an
2238
+ # error if the input character is the NUL character (+Ctrl-@+).
2239
+ # Failure to enlarge the edit buffer also results in an error.
2240
+ # Editline:: +ed-digit+ (emacs: 0 to 9) If in argument input mode, append
2241
+ # the input digit to the argument being read. Otherwise, call
2242
+ # +ed-insert+. It is an error if the input character is not a
2243
+ # digit or if the existing argument is already greater than a
2244
+ # million.
2245
+ # GNU Readline:: +self-insert+ (a, b, A, 1, !, …) Insert yourself.
2246
+ #
2247
+ # source://reline//lib/reline/line_editor.rb#1368
2248
+ def self_insert(str); end
2249
+
2250
+ # source://reline//lib/reline/line_editor.rb#2308
2251
+ def set_mark(key); end
2252
+
2253
+ # source://reline//lib/reline/line_editor.rb#2349
2254
+ def set_next_action_state(type, value); end
2255
+
2256
+ # source://reline//lib/reline/line_editor.rb#300
2257
+ def split_line_by_width(str, max_width, offset: T.unsafe(nil)); end
2258
+
2259
+ # source://reline//lib/reline/line_editor.rb#1855
2260
+ def transpose_chars(key); end
2261
+
2262
+ # source://reline//lib/reline/line_editor.rb#1868
2263
+ def transpose_words(key); end
2264
+
2265
+ # source://reline//lib/reline/line_editor.rb#2337
2266
+ def undo(_key); end
2267
+
2268
+ # Editline:: +vi-kill-line-prev+ (vi: +Ctrl-U+) Delete the string from the
2269
+ # beginning of the edit buffer to the cursor and save it to the
2270
+ # cut buffer.
2271
+ # GNU Readline:: +unix-line-discard+ (+C-u+) Kill backward from the cursor
2272
+ # to the beginning of the current line.
2273
+ #
2274
+ # source://reline//lib/reline/line_editor.rb#1737
2275
+ def unix_line_discard(key); end
2276
+
2277
+ # source://reline//lib/reline/line_editor.rb#1914
2278
+ def unix_word_rubout(key); end
2279
+
2280
+ # source://reline//lib/reline/line_editor.rb#1904
2281
+ def upcase_word(key); end
2282
+
2283
+ # source://reline//lib/reline/line_editor.rb#702
2284
+ def update_each_dialog(dialog, cursor_column, cursor_row, key = T.unsafe(nil)); end
2285
+
2286
+ # source://reline//lib/reline/line_editor.rb#1926
2287
+ def vi_add(key); end
2288
+
2289
+ # source://reline//lib/reline/line_editor.rb#2022
2290
+ def vi_add_at_eol(key); end
2291
+
2292
+ # source://reline//lib/reline/line_editor.rb#2041
2293
+ def vi_change_meta(key, arg: T.unsafe(nil)); end
2294
+
2295
+ # source://reline//lib/reline/line_editor.rb#2053
2296
+ def vi_change_meta_confirm(byte_pointer_diff); end
2297
+
2298
+ # Editline:: +vi_change_to_eol+ (vi command: +C+) + Kill and change from the cursor to the end of the line.
2299
+ #
2300
+ # source://reline//lib/reline/line_editor.rb#1719
2301
+ def vi_change_to_eol(key); end
2302
+
2303
+ # source://reline//lib/reline/line_editor.rb#1931
2304
+ def vi_command_mode(key); end
2305
+
2306
+ # source://reline//lib/reline/line_editor.rb#2059
2307
+ def vi_delete_meta(key, arg: T.unsafe(nil)); end
2308
+
2309
+ # source://reline//lib/reline/line_editor.rb#2070
2310
+ def vi_delete_meta_confirm(byte_pointer_diff); end
2311
+
2312
+ # source://reline//lib/reline/line_editor.rb#2003
2313
+ def vi_delete_prev_char(key); end
2314
+
2315
+ # source://reline//lib/reline/line_editor.rb#2322
2316
+ def vi_editing_mode(key); end
2317
+
2318
+ # source://reline//lib/reline/line_editor.rb#1988
2319
+ def vi_end_big_word(key, arg: T.unsafe(nil), inclusive: T.unsafe(nil)); end
2320
+
2321
+ # source://reline//lib/reline/line_editor.rb#2112
2322
+ def vi_end_of_transmission(key); end
2323
+
2324
+ # source://reline//lib/reline/line_editor.rb#1955
2325
+ def vi_end_word(key, arg: T.unsafe(nil), inclusive: T.unsafe(nil)); end
2326
+
2327
+ # source://reline//lib/reline/line_editor.rb#2113
2328
+ def vi_eof_maybe(key); end
2329
+
2330
+ # source://reline//lib/reline/line_editor.rb#1415
2331
+ def vi_first_print(key); end
2332
+
2333
+ # source://reline//lib/reline/line_editor.rb#2138
2334
+ def vi_histedit(key); end
2335
+
2336
+ # source://reline//lib/reline/line_editor.rb#1922
2337
+ def vi_insert(key); end
2338
+
2339
+ # source://reline//lib/reline/line_editor.rb#2017
2340
+ def vi_insert_at_bol(key); end
2341
+
2342
+ # source://reline//lib/reline/line_editor.rb#2296
2343
+ def vi_join_lines(key, arg: T.unsafe(nil)); end
2344
+
2345
+ # Editline:: +vi-kill-line-prev+ (vi: +Ctrl-U+) Delete the string from the
2346
+ # beginning of the edit buffer to the cursor and save it to the
2347
+ # cut buffer.
2348
+ # GNU Readline:: +unix-line-discard+ (+C-u+) Kill backward from the cursor
2349
+ # to the beginning of the current line.
2350
+ #
2351
+ # source://reline//lib/reline/line_editor.rb#1730
2352
+ def vi_kill_line_prev(key); end
2353
+
2354
+ # source://reline//lib/reline/line_editor.rb#2104
2355
+ def vi_list_or_eof(key); end
2356
+
2357
+ # source://reline//lib/reline/line_editor.rb#1935
2358
+ def vi_movement_mode(key); end
2359
+
2360
+ # source://reline//lib/reline/line_editor.rb#1970
2361
+ def vi_next_big_word(key, arg: T.unsafe(nil)); end
2362
+
2363
+ # source://reline//lib/reline/line_editor.rb#2208
2364
+ def vi_next_char(key, arg: T.unsafe(nil), inclusive: T.unsafe(nil)); end
2365
+
2366
+ # source://reline//lib/reline/line_editor.rb#1937
2367
+ def vi_next_word(key, arg: T.unsafe(nil)); end
2368
+
2369
+ # source://reline//lib/reline/line_editor.rb#2159
2370
+ def vi_paste_next(key, arg: T.unsafe(nil)); end
2371
+
2372
+ # source://reline//lib/reline/line_editor.rb#2150
2373
+ def vi_paste_prev(key, arg: T.unsafe(nil)); end
2374
+
2375
+ # source://reline//lib/reline/line_editor.rb#1979
2376
+ def vi_prev_big_word(key, arg: T.unsafe(nil)); end
2377
+
2378
+ # source://reline//lib/reline/line_editor.rb#2255
2379
+ def vi_prev_char(key, arg: T.unsafe(nil)); end
2380
+
2381
+ # source://reline//lib/reline/line_editor.rb#1946
2382
+ def vi_prev_word(key, arg: T.unsafe(nil)); end
2383
+
2384
+ # source://reline//lib/reline/line_editor.rb#2184
2385
+ def vi_replace_char(key, arg: T.unsafe(nil)); end
2386
+
2387
+ # source://reline//lib/reline/line_editor.rb#1548
2388
+ def vi_search_next(key); end
2389
+
2390
+ # source://reline//lib/reline/line_editor.rb#1543
2391
+ def vi_search_prev(key); end
2392
+
2393
+ # source://reline//lib/reline/line_editor.rb#2175
2394
+ def vi_to_column(key, arg: T.unsafe(nil)); end
2395
+
2396
+ # source://reline//lib/reline/line_editor.rb#2131
2397
+ def vi_to_history_line(key); end
2398
+
2399
+ # source://reline//lib/reline/line_editor.rb#2212
2400
+ def vi_to_next_char(key, arg: T.unsafe(nil), inclusive: T.unsafe(nil)); end
2401
+
2402
+ # source://reline//lib/reline/line_editor.rb#2259
2403
+ def vi_to_prev_char(key, arg: T.unsafe(nil)); end
2404
+
2405
+ # source://reline//lib/reline/line_editor.rb#2082
2406
+ def vi_yank(key, arg: T.unsafe(nil)); end
2407
+
2408
+ # source://reline//lib/reline/line_editor.rb#2093
2409
+ def vi_yank_confirm(byte_pointer_diff); end
2410
+
2411
+ # source://reline//lib/reline/line_editor.rb#1424
2412
+ def vi_zero(key); end
2413
+
2414
+ # source://reline//lib/reline/line_editor.rb#1784
2415
+ def yank(key); end
2416
+
2417
+ # source://reline//lib/reline/line_editor.rb#1794
2418
+ def yank_pop(key); end
2419
+ end
2420
+
2421
+ # source://reline//lib/reline/line_editor.rb#980
2422
+ Reline::LineEditor::ARGUMENT_DIGIT_METHODS = T.let(T.unsafe(nil), Array)
2423
+
2424
+ # source://reline//lib/reline/line_editor.rb#45
2425
+ class Reline::LineEditor::CompletionJourneyState < ::Struct
2426
+ # Returns the value of attribute line_index
2427
+ #
2428
+ # @return [Object] the current value of line_index
2429
+ #
2430
+ # source://reline//lib/reline/line_editor.rb#45
2431
+ def line_index; end
2432
+
2433
+ # Sets the attribute line_index
2434
+ #
2435
+ # @param value [Object] the value to set the attribute line_index to.
2436
+ # @return [Object] the newly set value
2437
+ #
2438
+ # source://reline//lib/reline/line_editor.rb#45
2439
+ def line_index=(_); end
2440
+
2441
+ # Returns the value of attribute list
2442
+ #
2443
+ # @return [Object] the current value of list
2444
+ #
2445
+ # source://reline//lib/reline/line_editor.rb#45
2446
+ def list; end
2447
+
2448
+ # Sets the attribute list
2449
+ #
2450
+ # @param value [Object] the value to set the attribute list to.
2451
+ # @return [Object] the newly set value
2452
+ #
2453
+ # source://reline//lib/reline/line_editor.rb#45
2454
+ def list=(_); end
2455
+
2456
+ # Returns the value of attribute pointer
2457
+ #
2458
+ # @return [Object] the current value of pointer
2459
+ #
2460
+ # source://reline//lib/reline/line_editor.rb#45
2461
+ def pointer; end
2462
+
2463
+ # Sets the attribute pointer
2464
+ #
2465
+ # @param value [Object] the value to set the attribute pointer to.
2466
+ # @return [Object] the newly set value
2467
+ #
2468
+ # source://reline//lib/reline/line_editor.rb#45
2469
+ def pointer=(_); end
2470
+
2471
+ # Returns the value of attribute post
2472
+ #
2473
+ # @return [Object] the current value of post
2474
+ #
2475
+ # source://reline//lib/reline/line_editor.rb#45
2476
+ def post; end
2477
+
2478
+ # Sets the attribute post
2479
+ #
2480
+ # @param value [Object] the value to set the attribute post to.
2481
+ # @return [Object] the newly set value
2482
+ #
2483
+ # source://reline//lib/reline/line_editor.rb#45
2484
+ def post=(_); end
2485
+
2486
+ # Returns the value of attribute pre
2487
+ #
2488
+ # @return [Object] the current value of pre
2489
+ #
2490
+ # source://reline//lib/reline/line_editor.rb#45
2491
+ def pre; end
2492
+
2493
+ # Sets the attribute pre
2494
+ #
2495
+ # @param value [Object] the value to set the attribute pre to.
2496
+ # @return [Object] the newly set value
2497
+ #
2498
+ # source://reline//lib/reline/line_editor.rb#45
2499
+ def pre=(_); end
2500
+
2501
+ # Returns the value of attribute target
2502
+ #
2503
+ # @return [Object] the current value of target
2504
+ #
2505
+ # source://reline//lib/reline/line_editor.rb#45
2506
+ def target; end
2507
+
2508
+ # Sets the attribute target
2509
+ #
2510
+ # @param value [Object] the value to set the attribute target to.
2511
+ # @return [Object] the newly set value
2512
+ #
2513
+ # source://reline//lib/reline/line_editor.rb#45
2514
+ def target=(_); end
2515
+
2516
+ class << self
2517
+ # source://reline//lib/reline/line_editor.rb#45
2518
+ def [](*_arg0); end
2519
+
2520
+ # source://reline//lib/reline/line_editor.rb#45
2521
+ def inspect; end
2522
+
2523
+ # source://reline//lib/reline/line_editor.rb#45
2524
+ def keyword_init?; end
2525
+
2526
+ # source://reline//lib/reline/line_editor.rb#45
2527
+ def members; end
2528
+
2529
+ # source://reline//lib/reline/line_editor.rb#45
2530
+ def new(*_arg0); end
2531
+ end
2532
+ end
2533
+
2534
+ # source://reline//lib/reline/line_editor.rb#38
2535
+ Reline::LineEditor::CompletionState::MENU = T.let(T.unsafe(nil), Symbol)
2536
+
2537
+ # source://reline//lib/reline/line_editor.rb#39
2538
+ Reline::LineEditor::CompletionState::MENU_WITH_PERFECT_MATCH = T.let(T.unsafe(nil), Symbol)
2539
+
2540
+ # source://reline//lib/reline/line_editor.rb#37
2541
+ Reline::LineEditor::CompletionState::NORMAL = T.let(T.unsafe(nil), Symbol)
2542
+
2543
+ # source://reline//lib/reline/line_editor.rb#40
2544
+ Reline::LineEditor::CompletionState::PERFECT_MATCH = T.let(T.unsafe(nil), Symbol)
2545
+
2546
+ # source://reline//lib/reline/line_editor.rb#694
2547
+ Reline::LineEditor::DIALOG_DEFAULT_HEIGHT = T.let(T.unsafe(nil), Integer)
2548
+
2549
+ # source://reline//lib/reline/line_editor.rb#640
2550
+ class Reline::LineEditor::Dialog
2551
+ # @return [Dialog] a new instance of Dialog
2552
+ #
2553
+ # source://reline//lib/reline/line_editor.rb#644
2554
+ def initialize(name, config, proc_scope); end
2555
+
2556
+ # source://reline//lib/reline/line_editor.rb#668
2557
+ def call(key); end
2558
+
2559
+ # Returns the value of attribute column.
2560
+ #
2561
+ # source://reline//lib/reline/line_editor.rb#642
2562
+ def column; end
2563
+
2564
+ # Sets the attribute column
2565
+ #
2566
+ # @param value the value to set the attribute column to.
2567
+ #
2568
+ # source://reline//lib/reline/line_editor.rb#642
2569
+ def column=(_arg0); end
2570
+
2571
+ # Returns the value of attribute contents.
2572
+ #
2573
+ # source://reline//lib/reline/line_editor.rb#641
2574
+ def contents; end
2575
+
2576
+ # source://reline//lib/reline/line_editor.rb#661
2577
+ def contents=(contents); end
2578
+
2579
+ # Returns the value of attribute name.
2580
+ #
2581
+ # source://reline//lib/reline/line_editor.rb#641
2582
+ def name; end
2583
+
2584
+ # Returns the value of attribute pointer.
2585
+ #
2586
+ # source://reline//lib/reline/line_editor.rb#642
2587
+ def pointer; end
2588
+
2589
+ # Sets the attribute pointer
2590
+ #
2591
+ # @param value the value to set the attribute pointer to.
2592
+ #
2593
+ # source://reline//lib/reline/line_editor.rb#642
2594
+ def pointer=(_arg0); end
2595
+
2596
+ # Returns the value of attribute scroll_top.
2597
+ #
2598
+ # source://reline//lib/reline/line_editor.rb#642
2599
+ def scroll_top; end
2600
+
2601
+ # Sets the attribute scroll_top
2602
+ #
2603
+ # @param value the value to set the attribute scroll_top to.
2604
+ #
2605
+ # source://reline//lib/reline/line_editor.rb#642
2606
+ def scroll_top=(_arg0); end
2607
+
2608
+ # source://reline//lib/reline/line_editor.rb#653
2609
+ def set_cursor_pos(col, row); end
2610
+
2611
+ # Returns the value of attribute trap_key.
2612
+ #
2613
+ # source://reline//lib/reline/line_editor.rb#642
2614
+ def trap_key; end
2615
+
2616
+ # Sets the attribute trap_key
2617
+ #
2618
+ # @param value the value to set the attribute trap_key to.
2619
+ #
2620
+ # source://reline//lib/reline/line_editor.rb#642
2621
+ def trap_key=(_arg0); end
2622
+
2623
+ # Returns the value of attribute vertical_offset.
2624
+ #
2625
+ # source://reline//lib/reline/line_editor.rb#642
2626
+ def vertical_offset; end
2627
+
2628
+ # Sets the attribute vertical_offset
2629
+ #
2630
+ # @param value the value to set the attribute vertical_offset to.
2631
+ #
2632
+ # source://reline//lib/reline/line_editor.rb#642
2633
+ def vertical_offset=(_arg0); end
2634
+
2635
+ # Returns the value of attribute width.
2636
+ #
2637
+ # source://reline//lib/reline/line_editor.rb#641
2638
+ def width; end
2639
+
2640
+ # source://reline//lib/reline/line_editor.rb#657
2641
+ def width=(v); end
2642
+ end
2643
+
2644
+ # source://reline//lib/reline/line_editor.rb#561
2645
+ class Reline::LineEditor::DialogProcScope
2646
+ # @return [DialogProcScope] a new instance of DialogProcScope
2647
+ #
2648
+ # source://reline//lib/reline/line_editor.rb#564
2649
+ def initialize(line_editor, config, proc_to_exec, context); end
2650
+
2651
+ # source://reline//lib/reline/line_editor.rb#635
2652
+ def call; end
2653
+
2654
+ # source://reline//lib/reline/line_editor.rb#581
2655
+ def call_completion_proc_with_checking_args(pre, target, post); end
2656
+
2657
+ # source://reline//lib/reline/line_editor.rb#627
2658
+ def completion_journey_data; end
2659
+
2660
+ # source://reline//lib/reline/line_editor.rb#631
2661
+ def config; end
2662
+
2663
+ # source://reline//lib/reline/line_editor.rb#572
2664
+ def context; end
2665
+
2666
+ # source://reline//lib/reline/line_editor.rb#606
2667
+ def cursor_pos; end
2668
+
2669
+ # source://reline//lib/reline/line_editor.rb#589
2670
+ def dialog; end
2671
+
2672
+ # source://reline//lib/reline/line_editor.rb#610
2673
+ def just_cursor_moving; end
2674
+
2675
+ # source://reline//lib/reline/line_editor.rb#602
2676
+ def key; end
2677
+
2678
+ # source://reline//lib/reline/line_editor.rb#622
2679
+ def preferred_dialog_height; end
2680
+
2681
+ # source://reline//lib/reline/line_editor.rb#576
2682
+ def retrieve_completion_block(_unused = T.unsafe(nil)); end
2683
+
2684
+ # source://reline//lib/reline/line_editor.rb#618
2685
+ def screen_height; end
2686
+
2687
+ # source://reline//lib/reline/line_editor.rb#614
2688
+ def screen_width; end
2689
+
2690
+ # source://reline//lib/reline/line_editor.rb#593
2691
+ def set_cursor_pos(col, row); end
2692
+
2693
+ # source://reline//lib/reline/line_editor.rb#585
2694
+ def set_dialog(dialog); end
2695
+
2696
+ # source://reline//lib/reline/line_editor.rb#598
2697
+ def set_key(key); end
2698
+ end
2699
+
2700
+ # source://reline//lib/reline/line_editor.rb#562
2701
+ class Reline::LineEditor::DialogProcScope::CompletionJourneyData < ::Struct
2702
+ # Returns the value of attribute list
2703
+ #
2704
+ # @return [Object] the current value of list
2705
+ #
2706
+ # source://reline//lib/reline/line_editor.rb#562
2707
+ def list; end
2708
+
2709
+ # Sets the attribute list
2710
+ #
2711
+ # @param value [Object] the value to set the attribute list to.
2712
+ # @return [Object] the newly set value
2713
+ #
2714
+ # source://reline//lib/reline/line_editor.rb#562
2715
+ def list=(_); end
2716
+
2717
+ # Returns the value of attribute pointer
2718
+ #
2719
+ # @return [Object] the current value of pointer
2720
+ #
2721
+ # source://reline//lib/reline/line_editor.rb#562
2722
+ def pointer; end
2723
+
2724
+ # Sets the attribute pointer
2725
+ #
2726
+ # @param value [Object] the value to set the attribute pointer to.
2727
+ # @return [Object] the newly set value
2728
+ #
2729
+ # source://reline//lib/reline/line_editor.rb#562
2730
+ def pointer=(_); end
2731
+
2732
+ # Returns the value of attribute postposing
2733
+ #
2734
+ # @return [Object] the current value of postposing
2735
+ #
2736
+ # source://reline//lib/reline/line_editor.rb#562
2737
+ def postposing; end
2738
+
2739
+ # Sets the attribute postposing
2740
+ #
2741
+ # @param value [Object] the value to set the attribute postposing to.
2742
+ # @return [Object] the newly set value
2743
+ #
2744
+ # source://reline//lib/reline/line_editor.rb#562
2745
+ def postposing=(_); end
2746
+
2747
+ # Returns the value of attribute preposing
2748
+ #
2749
+ # @return [Object] the current value of preposing
2750
+ #
2751
+ # source://reline//lib/reline/line_editor.rb#562
2752
+ def preposing; end
2753
+
2754
+ # Sets the attribute preposing
2755
+ #
2756
+ # @param value [Object] the value to set the attribute preposing to.
2757
+ # @return [Object] the newly set value
2758
+ #
2759
+ # source://reline//lib/reline/line_editor.rb#562
2760
+ def preposing=(_); end
2761
+
2762
+ class << self
2763
+ # source://reline//lib/reline/line_editor.rb#562
2764
+ def [](*_arg0); end
2765
+
2766
+ # source://reline//lib/reline/line_editor.rb#562
2767
+ def inspect; end
2768
+
2769
+ # source://reline//lib/reline/line_editor.rb#562
2770
+ def keyword_init?; end
2771
+
2772
+ # source://reline//lib/reline/line_editor.rb#562
2773
+ def members; end
2774
+
2775
+ # source://reline//lib/reline/line_editor.rb#562
2776
+ def new(*_arg0); end
2777
+ end
2778
+ end
2779
+
2780
+ # source://reline//lib/reline/line_editor.rb#1050
2781
+ Reline::LineEditor::MAX_UNDO_REDO_HISTORY_SIZE = T.let(T.unsafe(nil), Integer)
2782
+
2783
+ # source://reline//lib/reline/line_editor.rb#71
2784
+ Reline::LineEditor::MINIMUM_SCROLLBAR_HEIGHT = T.let(T.unsafe(nil), Integer)
2785
+
2786
+ # source://reline//lib/reline/line_editor.rb#48
2787
+ class Reline::LineEditor::MenuInfo
2788
+ # @return [MenuInfo] a new instance of MenuInfo
2789
+ #
2790
+ # source://reline//lib/reline/line_editor.rb#51
2791
+ def initialize(list); end
2792
+
2793
+ # source://reline//lib/reline/line_editor.rb#55
2794
+ def lines(screen_width); end
2795
+
2796
+ # Returns the value of attribute list.
2797
+ #
2798
+ # source://reline//lib/reline/line_editor.rb#49
2799
+ def list; end
2800
+ end
2801
+
2802
+ # source://reline//lib/reline/line_editor.rb#46
2803
+ Reline::LineEditor::NullActionState = T.let(T.unsafe(nil), Array)
2804
+
2805
+ # source://reline//lib/reline/line_editor.rb#43
2806
+ class Reline::LineEditor::RenderedScreen < ::Struct
2807
+ # Returns the value of attribute base_y
2808
+ #
2809
+ # @return [Object] the current value of base_y
2810
+ #
2811
+ # source://reline//lib/reline/line_editor.rb#43
2812
+ def base_y; end
2813
+
2814
+ # Sets the attribute base_y
2815
+ #
2816
+ # @param value [Object] the value to set the attribute base_y to.
2817
+ # @return [Object] the newly set value
2818
+ #
2819
+ # source://reline//lib/reline/line_editor.rb#43
2820
+ def base_y=(_); end
2821
+
2822
+ # Returns the value of attribute cursor_y
2823
+ #
2824
+ # @return [Object] the current value of cursor_y
2825
+ #
2826
+ # source://reline//lib/reline/line_editor.rb#43
2827
+ def cursor_y; end
2828
+
2829
+ # Sets the attribute cursor_y
2830
+ #
2831
+ # @param value [Object] the value to set the attribute cursor_y to.
2832
+ # @return [Object] the newly set value
2833
+ #
2834
+ # source://reline//lib/reline/line_editor.rb#43
2835
+ def cursor_y=(_); end
2836
+
2837
+ # Returns the value of attribute lines
2838
+ #
2839
+ # @return [Object] the current value of lines
2840
+ #
2841
+ # source://reline//lib/reline/line_editor.rb#43
2842
+ def lines; end
2843
+
2844
+ # Sets the attribute lines
2845
+ #
2846
+ # @param value [Object] the value to set the attribute lines to.
2847
+ # @return [Object] the newly set value
2848
+ #
2849
+ # source://reline//lib/reline/line_editor.rb#43
2850
+ def lines=(_); end
2851
+
2852
+ class << self
2853
+ # source://reline//lib/reline/line_editor.rb#43
2854
+ def [](*_arg0); end
2855
+
2856
+ # source://reline//lib/reline/line_editor.rb#43
2857
+ def inspect; end
2858
+
2859
+ # source://reline//lib/reline/line_editor.rb#43
2860
+ def keyword_init?; end
2861
+
2862
+ # source://reline//lib/reline/line_editor.rb#43
2863
+ def members; end
2864
+
2865
+ # source://reline//lib/reline/line_editor.rb#43
2866
+ def new(*_arg0); end
2867
+ end
2868
+ end
2869
+
2870
+ # source://reline//lib/reline/line_editor.rb#17
2871
+ Reline::LineEditor::VI_MOTIONS = T.let(T.unsafe(nil), Array)
2872
+
2873
+ # source://reline//lib/reline/line_editor.rb#981
2874
+ Reline::LineEditor::VI_WAITING_ACCEPT_METHODS = T.let(T.unsafe(nil), Array)
2875
+
2876
+ # source://reline//lib/reline.rb#16
2877
+ Reline::USERNAME_COMPLETION_PROC = T.let(T.unsafe(nil), T.untyped)
2878
+
2879
+ # source://reline//lib/reline/unicode.rb#1
2880
+ class Reline::Unicode
2881
+ class << self
2882
+ # source://reline//lib/reline/unicode.rb#104
2883
+ def calculate_width(str, allow_escape_code = T.unsafe(nil)); end
2884
+
2885
+ # source://reline//lib/reline/unicode.rb#393
2886
+ def common_prefix(list, ignore_case: T.unsafe(nil)); end
2887
+
2888
+ # source://reline//lib/reline/unicode.rb#75
2889
+ def east_asian_width(ord); end
2890
+
2891
+ # source://reline//lib/reline/unicode.rb#298
2892
+ def ed_transpose_words(line, byte_pointer); end
2893
+
2894
+ # source://reline//lib/reline/unicode.rb#284
2895
+ def em_backward_word(line, byte_pointer); end
2896
+
2897
+ # source://reline//lib/reline/unicode.rb#291
2898
+ def em_big_backward_word(line, byte_pointer); end
2899
+
2900
+ # source://reline//lib/reline/unicode.rb#270
2901
+ def em_forward_word(line, byte_pointer); end
2902
+
2903
+ # source://reline//lib/reline/unicode.rb#277
2904
+ def em_forward_word_with_capitalization(line, byte_pointer); end
2905
+
2906
+ # source://reline//lib/reline/unicode.rb#44
2907
+ def escape_for_print(str); end
2908
+
2909
+ # source://reline//lib/reline/unicode.rb#81
2910
+ def get_mbchar_width(mbchar); end
2911
+
2912
+ # source://reline//lib/reline/unicode.rb#256
2913
+ def get_next_mbchar_size(line, byte_pointer); end
2914
+
2915
+ # source://reline//lib/reline/unicode.rb#261
2916
+ def get_prev_mbchar_size(line, byte_pointer); end
2917
+
2918
+ # source://reline//lib/reline/unicode.rb#57
2919
+ def safe_encode(str, encoding); end
2920
+
2921
+ # @return [Boolean]
2922
+ #
2923
+ # source://reline//lib/reline/unicode.rb#418
2924
+ def space_character?(s); end
2925
+
2926
+ # This method is used by IRB
2927
+ #
2928
+ # source://reline//lib/reline/unicode.rb#131
2929
+ def split_by_width(str, max_width); end
2930
+
2931
+ # source://reline//lib/reline/unicode.rb#136
2932
+ def split_line_by_width(str, max_width, encoding = T.unsafe(nil), offset: T.unsafe(nil)); end
2933
+
2934
+ # source://reline//lib/reline/unicode.rb#178
2935
+ def strip_non_printing_start_end(prompt); end
2936
+
2937
+ # source://reline//lib/reline/unicode.rb#187
2938
+ def take_mbchar_range(str, start_col, width, cover_begin: T.unsafe(nil), cover_end: T.unsafe(nil), padding: T.unsafe(nil)); end
2939
+
2940
+ # Take a chunk of a String cut by width with escape sequences.
2941
+ #
2942
+ # source://reline//lib/reline/unicode.rb#183
2943
+ def take_range(str, start_col, max_width); end
2944
+
2945
+ # source://reline//lib/reline/unicode.rb#384
2946
+ def vi_backward_word(line, byte_pointer); end
2947
+
2948
+ # source://reline//lib/reline/unicode.rb#339
2949
+ def vi_big_backward_word(line, byte_pointer); end
2950
+
2951
+ # source://reline//lib/reline/unicode.rb#329
2952
+ def vi_big_forward_end_word(line, byte_pointer); end
2953
+
2954
+ # source://reline//lib/reline/unicode.rb#322
2955
+ def vi_big_forward_word(line, byte_pointer); end
2956
+
2957
+ # source://reline//lib/reline/unicode.rb#406
2958
+ def vi_first_print(line); end
2959
+
2960
+ # source://reline//lib/reline/unicode.rb#366
2961
+ def vi_forward_end_word(line, byte_pointer); end
2962
+
2963
+ # source://reline//lib/reline/unicode.rb#346
2964
+ def vi_forward_word(line, byte_pointer, drop_terminate_spaces = T.unsafe(nil)); end
2965
+
2966
+ # @return [Boolean]
2967
+ #
2968
+ # source://reline//lib/reline/unicode.rb#412
2969
+ def word_character?(s); end
2970
+ end
2971
+ end
2972
+
2973
+ # source://reline//lib/reline/unicode.rb#40
2974
+ Reline::Unicode::CSI_REGEXP = T.let(T.unsafe(nil), Regexp)
2975
+
2976
+ # source://reline//lib/reline/unicode/east_asian_width.rb#5
2977
+ Reline::Unicode::EastAsianWidth::CHUNK_LAST = T.let(T.unsafe(nil), Array)
2978
+
2979
+ # source://reline//lib/reline/unicode/east_asian_width.rb#5
2980
+ Reline::Unicode::EastAsianWidth::CHUNK_WIDTH = T.let(T.unsafe(nil), Array)
2981
+
2982
+ # source://reline//lib/reline/unicode.rb#2
2983
+ Reline::Unicode::EscapedPairs = T.let(T.unsafe(nil), Hash)
2984
+
2985
+ # source://reline//lib/reline/unicode.rb#39
2986
+ Reline::Unicode::NON_PRINTING_END = T.let(T.unsafe(nil), String)
2987
+
2988
+ # source://reline//lib/reline/unicode.rb#38
2989
+ Reline::Unicode::NON_PRINTING_START = T.let(T.unsafe(nil), String)
2990
+
2991
+ # source://reline//lib/reline/unicode.rb#41
2992
+ Reline::Unicode::OSC_REGEXP = T.let(T.unsafe(nil), Regexp)
2993
+
2994
+ # source://reline//lib/reline/unicode.rb#42
2995
+ Reline::Unicode::WIDTH_SCANNER = T.let(T.unsafe(nil), Regexp)
2996
+
2997
+ # source://reline//lib/reline/version.rb#2
2998
+ Reline::VERSION = T.let(T.unsafe(nil), String)