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