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
↓ 3 callers
Method
exit
(&mut self)
requestty-ui/src/input.rs:251
↓ 3 callers
Function
get_backend
(buf: W)
requestty-ui/src/backend/mod.rs:10
↓ 3 callers
Function
get_events
()
requestty-ui/src/events/mod.rs:25
↓ 3 callers
Method
get_remaining_default
Returns the remaining default text if the current input is a substring of it
src/question/input/mod.rs:86
↓ 3 callers
Function
get_sep_str
(separator: &Choice<T>)
src/question/choice.rs:235
↓ 3 callers
Method
handle_key
(&mut self, key: KeyEvent)
src/question/confirm.rs:35
↓ 3 callers
Function
inputs
(answers: &Answers)
src/question/input/tests.rs:10
↓ 3 callers
Method
magenta
(self)
requestty-ui/src/style.rs:253
↓ 3 callers
Method
maybe_select_op
(&mut self, op: F)
src/question/input/mod.rs:62
↓ 3 callers
Method
move_cursor
(&mut self, direction: backend::MoveDirection)
tests/helpers/mod.rs:75
↓ 3 callers
Method
parse
(input: syn::parse::ParseStream)
requestty-macro/src/lib.rs:48
↓ 3 callers
Function
prompt
()
examples/game.rs:8
↓ 3 callers
Function
prompt_all
(questions: impl IntoIterator<Item = Question<'a>>)
tests/question.rs:32
↓ 3 callers
Method
render
Renders the Text moving to the next line after its done. This can trigger a recomputation. In case the text cannot be fully rendered, [`layout.render_
requestty-ui/src/text.rs:68
↓ 3 callers
Method
render
( &mut self, layout: &mut ui::layout::Layout, backend: &mut B, )
src/question/expand/mod.rs:27
↓ 3 callers
Method
try_into_expand_item
Returns the `Ok(ExpandItem)` if it is one, otherwise returns itself as an [`Err`].
src/answer.rs:106
↓ 3 callers
Method
update_size
(&mut self)
requestty-ui/src/input.rs:126
↓ 3 callers
Method
viewport
(&self)
requestty-ui/src/backend/test_backend.rs:146
↓ 3 callers
Method
with_delim
Sets the hint delimiter
requestty-ui/src/prompt.rs:81
↓ 3 callers
Method
with_selectable
(mut self, selectable: Vec<bool>)
requestty-ui/src/select/tests.rs:36
↓ 2 callers
Method
as_bool
Returns [`Some`] if it is [`Answer::Bool`], otherwise returns [`None`].
src/answer.rs:161
↓ 2 callers
Method
as_str
(&self)
requestty-macro/src/question.rs:42
↓ 2 callers
Method
ask
( self, answers: &Answers, b: &mut B, events: &mut I, )
src/question/mod.rs:532
↓ 2 callers
Method
bold
(self)
requestty-ui/src/style.rs:380
↓ 2 callers
Method
build
Consumes the builder returning a [`Question`] [`Question`]: crate::question::Question
src/question/expand/builder.rs:341
↓ 2 callers
Method
check_complete_default
(&mut self)
src/question/input/mod.rs:99
↓ 2 callers
Method
choice_with_default
Inserts a [`Choice`] with a given text and default checked state. See [`multi_select`] for more information. [`Choice`]: crate::question::Choice::Ch
src/question/multi_select/builder.rs:185
↓ 2 callers
Method
dark_grey
(self)
requestty-ui/src/style.rs:203
↓ 2 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/select/builder.rs:133
↓ 2 callers
Function
default_move_cursor
( backend: &mut B, direction: MoveDirection, )
requestty-ui/src/backend/mod.rs:145
↓ 2 callers
Method
default_separator
Inserts a [`DefaultSeparator`] See [`expand`] for more information. [`DefaultSeparator`]: crate::question::Choice::DefaultSeparator [`expand`]: crat
src/question/expand/builder.rs:262
↓ 2 callers
Method
diff
Gets the attribute diff that needs to be applied to transition from the attributes in `self` to the attributes in `to`.
requestty-ui/src/style.rs:119
↓ 2 callers
Function
fill
(text: &str, layout: Layout)
requestty-ui/src/text.rs:137
↓ 2 callers
Method
find_word_left
Returns the byte index of the start of the first word to the left (< byte_i)
requestty-ui/src/string_input.rs:142
↓ 2 callers
Method
find_word_right
Returns the byte index of the start of the first word to the right (> byte_i)
requestty-ui/src/string_input.rs:150
↓ 2 callers
Method
flush
(&mut self)
requestty-ui/src/input.rs:159
↓ 2 callers
Method
get_cursor_pos
(&mut self)
requestty-ui/src/backend/mod.rs:198
↓ 2 callers
Method
goto_last_line
(&mut self, height: u16)
requestty-ui/src/input.rs:215
↓ 2 callers
Method
height
(&mut self, layout: &mut ui::layout::Layout)
src/question/expand/mod.rs:35
↓ 2 callers
Method
height
(&mut self, layout: &mut ui::layout::Layout)
src/question/raw_select/mod.rs:81
↓ 2 callers
Method
init
(&mut self)
requestty-ui/src/input.rs:138
↓ 2 callers
Function
insert_non_dup_parse
( ident: syn::Ident, item: &mut Option<T>, input: syn::parse::ParseStream, parser: fn(syn::par
requestty-macro/src/helpers.rs:27
↓ 2 callers
Method
into_confirm_prompt
(self, message: &'a str)
src/question/confirm.rs:77
↓ 2 callers
Method
into_prompt
(self, message: &'a str)
src/question/raw_select/mod.rs:193
↓ 2 callers
Method
is_choice
Returns `true` if the choice is a [`Choice::Choice`].
src/question/choice.rs:190
↓ 2 callers
Method
len
(&self)
src/question/order_select/mod.rs:109
↓ 2 callers
Method
light_green
(self)
requestty-ui/src/style.rs:218
↓ 2 callers
Function
make_into
(expr: syn::Expr)
requestty-macro/src/helpers.rs:183
↓ 2 callers
Function
make_multi_select_tuple
For multi_select, defaults can be given for each option, this method, takes option (`choice`), and the default value to put (`default`), and produces
requestty-macro/src/helpers.rs:232
↓ 2 callers
Function
map_err
(err: io::Error)
src/question/editor.rs:99
↓ 2 callers
Function
map_reset
(c: Color, to: Color)
requestty-ui/src/backend/test_backend.rs:416
↓ 2 callers
Method
max_height
(&mut self, layout: Layout)
requestty-ui/src/text.rs:49
↓ 2 callers
Method
maybe_adjust_page
Adjust the page if required considering the direction we moved to
requestty-ui/src/select/mod.rs:376
↓ 2 callers
Method
move_cursor
(&mut self, direction: MoveDirection)
requestty-ui/src/backend/mod.rs:204
↓ 2 callers
Method
next_selectable
(&self)
requestty-ui/src/select/mod.rs:154
↓ 2 callers
Function
parse_char
(mut c: char, mut modifiers: super::KeyModifiers)
requestty-ui/src/events/termion.rs:93
↓ 2 callers
Method
prev_selectable
(&self)
requestty-ui/src/select/mod.rs:174
↓ 2 callers
Function
print_mask
(len: usize, mask: char, w: &mut W)
requestty-ui/src/string_input.rs:370
↓ 2 callers
Method
prompt_all_with
Prompt all remaining questions with the given [`Backend`] and [`EventIterator`]. It consumes `self` and returns the answers to all the questions aske
src/prompt_module.rs:89
↓ 2 callers
Method
prompt_with
Prompt a single question with the given [`Backend`] and [`EventIterator`]. This may or may not actually prompt the question based on what `when` and
src/prompt_module.rs:55
↓ 2 callers
Method
put_char
(&mut self, c: char)
requestty-ui/src/backend/test_backend.rs:206
↓ 2 callers
Method
render
(&mut self, layout: &mut Layout, backend: &mut B)
requestty-ui/src/char_input.rs:82
↓ 2 callers
Method
render
(&mut self, layout: &mut ui::layout::Layout, b: &mut B)
src/question/raw_select/mod.rs:73
↓ 2 callers
Method
render_choice
( &mut self, index: Option<usize>, mut layout: ui::layout::Layout, b: &mut B,
src/question/expand/mod.rs:286
↓ 2 callers
Method
render_cutoff_msg
(&mut self)
requestty-ui/src/input.rs:182
↓ 2 callers
Method
render_in
Renders the lines in a given iterator
requestty-ui/src/select/mod.rs:415
↓ 2 callers
Method
selected
(&mut self)
src/question/expand/mod.rs:75
↓ 2 callers
Method
selected_mut
Returns a mutable reference to the currently hovered item.
requestty-ui/src/select/mod.rs:464
↓ 2 callers
Method
separator
Inserts a [`Separator`] with the given text See [`expand`] for more information. [`Separator`]: crate::question::Choice::Separator [`expand`]: crate
src/question/expand/builder.rs:238
↓ 2 callers
Method
set_attributes
(&mut self, attributes: Attributes)
requestty-ui/src/backend/mod.rs:171
↓ 2 callers
Method
set_attributes
(&mut self, attributes: Attributes)
requestty-ui/src/backend/test_backend.rs:287
↓ 2 callers
Method
set_bg
(&mut self, color: Color)
requestty-ui/src/backend/mod.rs:177
↓ 2 callers
Method
set_bg
(&mut self, color: Color)
requestty-ui/src/backend/test_backend.rs:297
↓ 2 callers
Method
set_bg
(&mut self, color: style::Color)
tests/helpers/mod.rs:45
↓ 2 callers
Method
set_default
Set the choice list's default.
src/question/choice.rs:69
↓ 2 callers
Method
set_fg
(&mut self, color: Color)
requestty-ui/src/backend/test_backend.rs:292
↓ 2 callers
Function
set_seperators_false
(selected: &mut [bool], choices: &[Choice<Text<String>>])
src/question/multi_select/mod.rs:30
↓ 2 callers
Method
show_cursor
(&mut self)
requestty-ui/src/backend/mod.rs:195
↓ 2 callers
Method
sub_y
(&mut self, y: u16)
requestty-ui/src/backend/test_backend.rs:175
↓ 2 callers
Method
text
The content of the choice -- it is what is displayed to the user
src/question/order_select/mod.rs:270
↓ 2 callers
Method
to_linear
(self, width: u16)
requestty-ui/src/backend/test_backend.rs:38
↓ 2 callers
Method
width
The character length of the fully rendered prompt
requestty-ui/src/prompt.rs:134
↓ 2 callers
Method
with_optional_hint
Sets the hint
requestty-ui/src/prompt.rs:73
↓ 2 callers
Method
word_iter
Get the word bound iterator for a given range
requestty-ui/src/string_input.rs:135
↓ 2 callers
Method
write_main_opts
(&self, tokens: &mut TokenStream)
requestty-macro/src/question.rs:327
↓ 2 callers
Method
write_to_backend
Writes all the cells of the `TestBackend` to the given backend. A screenshot of what the printed output looks like: 
requestty-ui/src/backend/test_backend.rs:160
↓ 1 callers
Method
as_list_item
Returns [`Some`] if it is a [`Answer::ListItem`], otherwise returns [`None`].
src/answer.rs:77
↓ 1 callers
Method
assertion_failed
(&self, other: &Self)
requestty-ui/src/backend/test_backend.rs:235
↓ 1 callers
Method
at_outside_page
Checks whether the page bounds need to be adjusted This returns true if at == page_start || at == page_end, and so even though it is visible, the pag
requestty-ui/src/select/mod.rs:234
↓ 1 callers
Function
auto_complete
(p: String)
examples/file_auto_complete.rs:7
↓ 1 callers
Method
build
Consumes the builder returning a [`Question`] [`Question`]: crate::question::Question
src/question/password.rs:322
↓ 1 callers
Method
build
Consumes the builder returning a [`Question`]
src/question/custom_prompt.rs:215
↓ 1 callers
Method
build
Consumes the builder returning a [`Question`] [`Question`]: crate::question::Question
src/question/confirm.rs:235
↓ 1 callers
Method
build
Consumes the builder returning a [`Question`] [`Question`]: crate::question::Question
src/question/raw_select/builder.rs:318
↓ 1 callers
Method
build
Consumes the builder returning a [`Question`] [`Question`]: crate::question::Question
src/question/select/builder.rs:305
↓ 1 callers
Method
build
Consumes the builder returning a [`Question`] [`Question`]: crate::question::Question
src/question/input/builder.rs:256
↓ 1 callers
Method
build
Consumes the builder returning a [`Question`] [`Question`]: crate::question::Question
src/question/order_select/builder.rs:255
↓ 1 callers
Method
build
Consumes the builder returning a [`Question`] [`Question`]: crate::question::Question
src/question/multi_select/builder.rs:403
↓ 1 callers
Function
char_width
(c: char)
requestty-ui/src/char_input.rs:111
← previous
next →
101–200 of 941, ranked by callers