Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Lutetium-Vanadium/requestty
/ functions
Functions
941 in github.com/Lutetium-Vanadium/requestty
⨍
Functions
941
◇
Types & classes
102
↓ 1 callers
Function
check_allowed
(ident: &syn::Ident, kind: QuestionKind)
requestty-macro/src/question.rs:191
↓ 1 callers
Function
check_non_dup
(ident: &syn::Ident, item: &Option<T>)
requestty-macro/src/helpers.rs:65
↓ 1 callers
Function
choices
(len: usize)
src/question/raw_select/tests.rs:13
↓ 1 callers
Method
choices
Extends the given iterator of [`Choice`]s. See [`raw_select`] for more information. [`Choice`]: crate::question::Choice [`raw_select`]: crate::quest
src/question/raw_select/builder.rs:281
↓ 1 callers
Function
choices_with_default
(len: usize)
src/question/multi_select/tests.rs:13
↓ 1 callers
Method
clear
(&mut self, clear_type: ClearType)
requestty-ui/src/backend/mod.rs:210
↓ 1 callers
Method
clear
(&mut self, clear_type: backend::ClearType)
tests/helpers/mod.rs:83
↓ 1 callers
Method
clear_value
Clears the value.
requestty-ui/src/char_input.rs:52
↓ 1 callers
Function
create_list_items
( selected: Vec<bool>, choices: super::ChoiceList<Text<String>>, )
src/question/multi_select/mod.rs:42
↓ 1 callers
Method
cursor_pos
(&mut self, layout: Layout)
requestty-ui/src/input.rs:397
↓ 1 callers
Method
cyan
(self)
requestty-ui/src/style.rs:263
↓ 1 callers
Method
default
Set a default key for the expand If no key is entered by the user and they press `Enter`, the default key is used. If `default` is unspecified, it d
src/question/expand/builder.rs:131
↓ 1 callers
Method
default
Set a default index for the select The given index will be hovered in the beginning. If `default` is unspecified, the first [`Choice`] will be hover
src/question/raw_select/builder.rs:136
↓ 1 callers
Method
disable_raw_mode
(&mut self)
requestty-ui/src/backend/mod.rs:189
↓ 1 callers
Method
enable_raw_mode
(&mut self)
requestty-ui/src/backend/mod.rs:186
↓ 1 callers
Function
encounter1
()
examples/game.rs:49
↓ 1 callers
Function
encounter2a
()
examples/game.rs:69
↓ 1 callers
Function
encounter2b
()
examples/game.rs:88
↓ 1 callers
Function
exit_house
()
examples/game.rs:35
↓ 1 callers
Method
extension
Set an extension on the temporary file If set, the extension will be concatenated with the randomly generated filename. This is a useful way to signi
src/question/editor.rs:306
↓ 1 callers
Method
finish
(self)
requestty-ui/src/input.rs:411
↓ 1 callers
Method
finish
Returns the inputted string
requestty-ui/src/string_input.rs:113
↓ 1 callers
Method
finish
(self)
src/question/editor.rs:124
↓ 1 callers
Method
finish_index
(self, index: usize)
src/question/raw_select/mod.rs:36
↓ 1 callers
Method
finish_index
(self, index: usize)
src/question/select/mod.rs:33
↓ 1 callers
Method
finish_with
(self, c: char)
src/question/expand/mod.rs:90
↓ 1 callers
Method
flush
(&mut self)
requestty-ui/src/backend/test_backend.rs:281
↓ 1 callers
Method
flush
(&mut self)
tests/helpers/mod.rs:30
↓ 1 callers
Method
get_builder_methods
(&self)
requestty-macro/src/question.rs:59
↓ 1 callers
Method
get_delete_movement
(&self, key: KeyEvent)
requestty-ui/src/string_input.rs:157
↓ 1 callers
Function
get_editor
()
src/question/editor.rs:45
↓ 1 callers
Method
get_start
Gets the starting line number for the given `height` taking into account the `max_height` and the `render_region`. If the height of the widget to ren
requestty-ui/src/layout.rs:186
↓ 1 callers
Method
handle_key
(&mut self, key: crate::events::KeyEvent)
requestty-ui/src/input.rs:401
↓ 1 callers
Method
has_valid_default
(&self)
src/question/expand/mod.rs:279
↓ 1 callers
Method
height
(&mut self, layout: &mut Layout)
requestty-ui/src/string_input.rs:324
↓ 1 callers
Method
height
(&mut self, layout: &mut Layout)
requestty-ui/src/select/mod.rs:630
↓ 1 callers
Method
height
(&mut self, layout: &mut ui::layout::Layout)
src/question/choice.rs:255
↓ 1 callers
Method
height
(&mut self, layout: &mut ui::layout::Layout)
src/question/input/mod.rs:145
↓ 1 callers
Method
height
(&mut self, layout: &mut ui::layout::Layout)
src/question/order_select/mod.rs:218
↓ 1 callers
Method
height
(&mut self, layout: &mut ui::layout::Layout)
src/question/multi_select/mod.rs:99
↓ 1 callers
Method
height_at
(&mut self, index: usize, mut layout: Layout)
requestty-ui/src/select/tests.rs:73
↓ 1 callers
Method
hide_output
Hide the value being entered, and render nothing. This is useful for passwords.
requestty-ui/src/string_input.rs:65
↓ 1 callers
Method
hint_len
The character length of the hint. It is 0 if the hint is absent
requestty-ui/src/prompt.rs:122
↓ 1 callers
Method
into_multi_select_prompt
( self, message: &'a str, answers: &'a Answers, )
src/question/multi_select/mod.rs:195
↓ 1 callers
Method
into_order_select_prompt
( self, message: &'a str, answers: &'a Answers, )
src/question/order_select/mod.rs:115
↓ 1 callers
Method
into_prompt
(self, message: &'a str)
src/question/select/mod.rs:110
↓ 1 callers
Method
is_selectable
(&self, index: usize)
src/question/choice.rs:124
↓ 1 callers
Method
is_selectable
(&self, index: usize)
src/question/multi_select/mod.rs:172
↓ 1 callers
Function
is_valid
(password: &str, _: &requestty::Answers)
examples/password.rs:3
↓ 1 callers
Method
len
(&self)
src/question/multi_select/mod.rs:181
↓ 1 callers
Method
mask
A mask to render instead of the actual characters. This is useful for passwords.
requestty-ui/src/string_input.rs:57
↓ 1 callers
Method
next_event
(&mut self)
requestty-ui/src/events/mod.rs:80
↓ 1 callers
Function
parse_optional_comma
( input: syn::parse::ParseStream, )
requestty-macro/src/helpers.rs:4
↓ 1 callers
Method
password
Prompt that takes user input and hides it. How it looks if you set a mask: <img src="https://raw.githubusercontent.com/lutetium-vanadium/requestty/m
src/question/mod.rs:169
↓ 1 callers
Method
print_error
(&mut self, mut e: P::ValidateErr)
requestty-ui/src/input.rs:220
↓ 1 callers
Method
prompt
(&mut self)
src/prompt_module.rs:44
↓ 1 callers
Method
prompt_all
(self)
src/prompt_module.rs:78
↓ 1 callers
Method
red
(self)
requestty-ui/src/style.rs:213
↓ 1 callers
Method
render
This widget ignores [`layout.offset_x`] and wraps around in the terminal. [`layout.offset_x`]: Layout.offset_x
requestty-ui/src/string_input.rs:306
↓ 1 callers
Method
render
(&mut self, layout: &mut Layout, b: &mut B)
requestty-ui/src/prompt.rs:180
↓ 1 callers
Method
render
( &mut self, layout: &mut ui::layout::Layout, backend: &mut B, )
src/question/choice.rs:244
↓ 1 callers
Method
render
( &mut self, layout: &mut ui::layout::Layout, backend: &mut B, )
src/question/order_select/mod.rs:209
↓ 1 callers
Method
render
(&mut self, layout: &mut ui::layout::Layout, b: &mut B)
src/question/multi_select/mod.rs:94
↓ 1 callers
Method
render_item
( &mut self, index: usize, hovered: bool, mut layout: Layout, backend:
requestty-ui/src/select/tests.rs:44
↓ 1 callers
Method
scroll
(&mut self, dist: i16)
requestty-ui/src/backend/mod.rs:207
↓ 1 callers
Function
set
Set the current [`SymbolSet`] Also see [`symbols::current`](current). # Example ``` # #[cfg(feature = "ignore this line for doc test as requestty_u
requestty-ui/src/symbols.rs:48
↓ 1 callers
Function
set_attributes
( from: Attributes, to: Attributes, mut w: W, )
requestty-ui/src/backend/crossterm.rs:161
↓ 1 callers
Function
set_attributes
( from: Attributes, to: Attributes, mut w: W, )
requestty-ui/src/backend/termion.rs:312
↓ 1 callers
Method
set_size
Sets the `width` and `height` of the layout.
requestty-ui/src/layout.rs:141
↓ 1 callers
Method
size
(&self)
requestty-ui/src/backend/mod.rs:213
↓ 1 callers
Method
sub_x
(&mut self, x: u16)
requestty-ui/src/backend/test_backend.rs:167
↓ 1 callers
Method
try_into_string
Returns the `Ok(String)` if it is one, otherwise returns itself as an [`Err`].
src/answer.rs:64
↓ 1 callers
Function
unwrap_select
(question: impl Into<Question<'a>>)
src/question/raw_select/tests.rs:28
↓ 1 callers
Method
validate
Determine whether the prompt state is ready to be submitted. It is called whenever the user presses the enter key. See [`Validation`]
requestty-ui/src/input.rs:60
↓ 1 callers
Method
with_answers
Creates a `PromptModule` with the given questions and answers
src/prompt_module.rs:33
↓ 1 callers
Method
write
(&mut self, buf: &[u8])
requestty-ui/src/backend/termion.rs:66
↓ 1 callers
Method
write_to_buf
(&self, buf: W)
requestty-ui/src/backend/test_backend.rs:515
↓ 1 callers
Method
yellow
(self)
requestty-ui/src/style.rs:233
Method
ansi
(self, ansi: u8)
requestty-ui/src/style.rs:283
Method
as_expand_item
Returns [`Some`] if it is [`Answer::ExpandItem`], otherwise returns [`None`].
src/answer.rs:98
Method
as_fd
(&self)
requestty-ui/src/backend/termion.rs:76
Method
as_float
Returns [`Some`] if it is [`Answer::Float`], otherwise returns [`None`].
src/answer.rs:140
Method
as_int
Returns [`Some`] if it is [`Answer::Int`], otherwise returns [`None`].
src/answer.rs:119
Method
as_list_items
Returns [`Some`] if it is [`Answer::ListItems`], otherwise returns [`None`].
src/answer.rs:182
Method
as_string
Returns [`Some`] if it is a [`Answer::String`], otherwise returns [`None`].
src/answer.rs:56
Function
ask
()
examples/repetitive.rs:5
Method
ask
( mut self, message: String, on_esc: ui::OnEsc, answers: &Answers, b:
src/question/password.rs:110
Method
ask
( &mut self, message: String, answers: &Answers, backend: &mut dyn Backend,
src/question/custom_prompt.rs:46
Method
ask
( mut self, message: String, on_esc: ui::OnEsc, answers: &Answers, b:
src/question/confirm.rs:91
Method
ask
( mut self, message: String, on_esc: ui::OnEsc, answers: &Answers, b:
src/question/editor.rs:133
Method
ask
( mut self, message: String, on_esc: ui::OnEsc, answers: &Answers, b:
src/question/expand/mod.rs:322
Method
ask
( mut self, message: String, on_esc: ui::OnEsc, answers: &Answers, b:
src/question/raw_select/mod.rs:213
Method
ask
( mut self, message: String, on_esc: ui::OnEsc, answers: &Answers, b:
src/question/select/mod.rs:122
Method
ask
( mut self, message: String, on_esc: ui::OnEsc, answers: &Answers, b:
src/question/input/mod.rs:284
Method
ask
( mut self, message: String, on_esc: ui::OnEsc, answers: &Answers, b:
src/question/order_select/mod.rs:128
Method
ask
( mut self, message: String, on_esc: ui::OnEsc, answers: &Answers, b:
src/question/multi_select/mod.rs:208
Method
ask
( self, message: String, _: &Answers, _: &mut dyn Backend, _: &mut dyn
tests/question.rs:10
Method
ask
( self, _message: String, _answers: &Answers, _backend: &mut dyn Backend,
tests/macros/custom_prompt/valid.rs:7
Method
assert_eq
Asserts that two `TestBackend`s are equal to each other, otherwise it panics printing what the backend would look like.
requestty-ui/src/backend/test_backend.rs:264
Method
black
(self)
requestty-ui/src/style.rs:198
← previous
next →
201–300 of 941, ranked by callers