piston_sdk 0.1.0 → 0.2.0

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