MCPcopy Index your code

hub / github.com/Xithrius/twitch-tui / functions

Functions272 in github.com/Xithrius/twitch-tui

↓ 47 callersMethodget
(&self, key: &str)
src/handlers/storage.rs:94
↓ 44 callersMethodlen
(&self)
src/utils/emotes.rs:46
↓ 30 callersMethoditer
(&'_ self)
src/utils/emotes.rs:50
↓ 17 callersMethodcontains
(&self, key: &str, value: &str)
src/handlers/storage.rs:120
↓ 17 callersMethodis_focused
(&self)
src/ui/components/debug.rs:38
↓ 16 callersMethodnext
(&mut self)
src/ui/components/emote_picker.rs:83
↓ 13 callersMethodclear
(&mut self)
src/ui/components/utils/input_widget.rs:88
↓ 12 callersFunctiontitle_line
(contents: &'a [TitleStyle<'a>], style: Style)
src/utils/text.rs:40
↓ 10 callersMethodnext
(&mut self)
src/handlers/user_input/events.rs:138
↓ 9 callersMethodinsert
(&mut self, s: &str)
src/ui/components/utils/input_widget.rs:117
↓ 8 callersMethodtoggle_focus
(&mut self)
src/ui/components/debug.rs:42
↓ 7 callersMethodapply
While the structs that implement this trait can be sent between thread safely, this function is not thread safe, and needs to be called from the main
src/emotes/graphics_protocol.rs:384
↓ 7 callersFunctionfirst_similarity
Within an array of strings, find the first partial or full match, if any.
src/utils/text.rs:65
↓ 7 callersMethodstring
(&self)
src/utils/emotes.rs:64
↓ 7 callersFunctionu32_to_color
Convert a u32 to RGB values, discarding the highest byte.
src/utils/colors.rs:36
↓ 6 callersMethodadd
(&mut self, key: &str, value: String)
src/handlers/storage.rs:79
↓ 6 callersFunctionemotes_enabled
(frontend: &FrontendConfig)
src/utils/emotes.rs:9
↓ 6 callersMethodreplace
(&mut self, idx: usize, old: &str, new: &str)
src/ui/components/utils/input_widget.rs:42
↓ 6 callersMethodsystem
(self, payload: String)
src/handlers/data.rs:632
↓ 6 callersMethodtwitch
(self, payload: String)
src/handlers/data.rs:644
↓ 5 callersFunctioncache_path
(file: &str)
src/utils/pathing.rs:31
↓ 5 callersFunctionclean_message
Some twitch clients bypass the 30s timeout for duplicate messages by appending a space followed by the `'\u{e0000}'` character to the end of the messa
src/utils/text.rs:118
↓ 5 callersFunctionparse_message_action
This function handles the detection and parsing of the twitch /me command. This command is received as an IRC CTCP ACTION, which wraps the message, an
src/utils/text.rs:102
↓ 5 callersMethodreverse
(&mut self)
src/handlers/filters.rs:59
↓ 5 callersMethodto_vec
( &self, frontend_config: &FrontendConfig, width: usize, search_highlight: Opt
src/handlers/data.rs:442
↓ 5 callersMethodwrite_ansi
(&self, f: &mut impl fmt::Write)
src/emotes/graphics_protocol.rs:82
↓ 4 callersFunctionassert_build_line
( line: &'s str, start_index: usize, search_highlight: Highlight, username_hig
src/handlers/data.rs:759
↓ 4 callersFunctionbuild_line
()
src/handlers/data.rs:806
↓ 4 callersFunctioncentered_rect
(percent_x: u16, percent_y: u16, height: u16, r: Rect)
src/ui/components/utils/popups.rs:3
↓ 4 callersMethodclear_messages
(&mut self)
src/handlers/app.rs:177
↓ 4 callersFunctionconfig_path
(file: &str)
src/utils/pathing.rs:13
↓ 4 callersMethodget_offset
(&self)
src/handlers/user_input/scrolling.rs:32
↓ 4 callersFunctionget_twitch_client_id
(token: Option<&str>)
src/twitch/oauth.rs:20
↓ 4 callersMethodjump_to
(&mut self, index: usize)
src/handlers/user_input/scrolling.rs:28
↓ 4 callersMethodset_state
(&mut self, other: State)
src/handlers/app.rs:216
↓ 4 callersFunctionsetup
()
src/handlers/filters.rs:68
↓ 4 callersMethodtoggle_focus
(&mut self)
src/ui/components/utils/search_widget.rs:130
↓ 4 callersMethodunload
(&self)
src/emotes/mod.rs:90
↓ 4 callersMethodupdate
(&mut self, s: &str)
src/ui/components/utils/input_widget.rs:84
↓ 3 callersMethoddecode
(self)
src/emotes/graphics_protocol.rs:229
↓ 3 callersFunctiondisplay_emote
(id: u32, pid: u32, cols: u16)
src/emotes/mod.rs:258
↓ 3 callersMethoddown
(&mut self)
src/handlers/user_input/scrolling.rs:24
↓ 3 callersFunctionhsl_to_rgb
<https://css-tricks.com/converting-color-spaces-in-javascript/#hsl-to-rgb/>
src/utils/colors.rs:4
↓ 3 callersMethodinsert_str
(&mut self, idx: usize, string: &str)
src/ui/components/utils/input_widget.rs:40
↓ 3 callersMethodis_valid
(&self)
src/ui/components/utils/input_widget.rs:105
↓ 3 callersFunctionremove_temp_file
(path: &Path)
src/utils/pathing.rs:66
↓ 3 callersMethodtoggle_focus
(&mut self)
src/ui/components/channel_switcher.rs:133
↓ 3 callersMethodunselect
(&mut self)
src/ui/components/channel_switcher.rs:125
↓ 3 callersMethodup
(&mut self)
src/handlers/user_input/scrolling.rs:20
↓ 2 callersMethodcreate_interactive_list_widget
( &'a self, items: &'a [String], index_offset: usize, )
src/ui/components/dashboard.rs:53
↓ 2 callersFunctiondownload_emotes
(emotes: EmoteMap)
src/emotes/downloader.rs:365
↓ 2 callersMethoddraw
(&mut self, f: &mut Frame)
src/handlers/app.rs:110
↓ 2 callersFunctionfirst_similarity_iter
( possibilities: impl Iterator<Item = &'a String>, search: &str, )
src/utils/text.rs:69
↓ 2 callersFunctionfuzzy_pattern_match
(pattern: &str, choice: &str)
src/utils/search.rs:7
↓ 2 callersFunctionget_emote_offset
(width: u16, cell_width: u16, cols: u16)
src/utils/emotes.rs:16
↓ 2 callersFunctionget_twitch_client
(oauth_token: Option<&str>)
src/twitch/oauth.rs:47
↓ 2 callersMethodis_focused
(&self)
src/ui/components/chat_input.rs:84
↓ 2 callersMethodis_focused
(&self)
src/ui/components/utils/search_widget.rs:126
↓ 2 callersMethodis_inverted
(&self)
src/handlers/user_input/scrolling.rs:16
↓ 2 callersFunctionquery_emotes
( config: &CompleteConfig, channel: String, )
src/emotes/mod.rs:113
↓ 2 callersMethodremove_inner_with
(&mut self, key: &str, value: &str)
src/handlers/storage.rs:124
↓ 2 callersFunctionreset_terminal
()
src/commands.rs:33
↓ 2 callersFunctionsave_emote
(path: &Path, mut res: Response)
src/emotes/downloader.rs:355
↓ 2 callersMethodtoggle_focus
(&mut self)
src/ui/components/chat_input.rs:88
↓ 2 callersMethodtoggle_focus
(&mut self)
src/ui/components/emote_picker.rs:114
↓ 2 callersMethodtoggle_focus_with
(&mut self, s: &str)
src/ui/components/chat_input.rs:92
↓ 2 callersMethodunselect
(&mut self)
src/ui/components/emote_picker.rs:107
↓ 2 callersMethodunselect
(&mut self)
src/ui/components/utils/search_widget.rs:122
↓ 2 callersFunctionwait_client_stream
( tx: Sender<TwitchToTerminalAction>, data_builder: DataBuilder<'_>, config: CompleteConfig, )
src/twitch/connection.rs:37
↓ 1 callersMethodaccept_suggestion
(&mut self)
src/ui/components/utils/input_widget.rs:111
↓ 1 callersFunctioncapitalize_first_char
<https://stackoverflow.com/a/38406885/>
src/utils/text.rs:91
↓ 1 callersMethodcleanup
(&self)
src/handlers/app.rs:172
↓ 1 callersMethodcols
(&self)
src/emotes/graphics_protocol.rs:76
↓ 1 callersMethodcontaminated
(&self, data: &str)
src/handlers/filters.rs:35
↓ 1 callersFunctioncreate_client_stream
Initialize the config and send it to the client to connect to an IRC channel.
src/twitch/connection.rs:15
↓ 1 callersFunctioncreate_temp_file
(prefix: &str)
src/utils/pathing.rs:50
↓ 1 callersFunctiondecoder
(mut rx: Receiver<Image>, tx: &Sender<Result<DecodedEmote, String>>)
src/emotes/mod.rs:150
↓ 1 callersMethoddefault
()
src/handlers/state.rs:50
↓ 1 callersMethoddelete
(&mut self, idx: usize, string: &str, dir: rustyline::line_buffer::Direction)
src/ui/components/utils/input_widget.rs:47
↓ 1 callersMethoddump_data
(&self)
src/handlers/storage.rs:71
↓ 1 callersMethodenabled
(&self)
src/handlers/filters.rs:47
↓ 1 callersMethodevent
(&mut self, event: &Event)
src/handlers/app.rs:148
↓ 1 callersMethodframes
(self: Box<Self>)
src/emotes/graphics_protocol.rs:41
↓ 1 callersFunctionget_channel_id
(client: &Client, channel: &str)
src/twitch/oauth.rs:75
↓ 1 callersMethodget_config_values
(&self)
src/ui/components/debug.rs:46
↓ 1 callersFunctionget_cursor_position
Acquiring the horizontal position of the cursor so it can be rendered visually.
src/utils/text.rs:10
↓ 1 callersFunctionget_emotes
(channel_id: i32)
src/emotes/downloader.rs:139
↓ 1 callersFunctionget_enabled_emote_providers
(config: &FrontendConfig)
src/emotes/downloader.rs:404
↓ 1 callersFunctionget_following
(twitch_config: &TwitchConfig)
src/twitch/channels.rs:67
↓ 1 callersMethodget_items
(&mut self)
src/twitch/channels.rs:84
↓ 1 callersMethodget_last_n
(&self, key: &str, n: usize, reverse: bool)
src/handlers/storage.rs:104
↓ 1 callersMethodget_messages
( &self, frame: &Frame, area: Rect, messages_data: &'a VecDeque<MessageData>,
src/ui/components/chat.rs:82
↓ 1 callersMethodget_previous_state
(&self)
src/handlers/app.rs:207
↓ 1 callersFunctionget_twitch_emote
(name: &str)
src/emotes/downloader.rs:467
↓ 1 callersFunctionget_user_emotes
Twitch will not send all the emotes in one response, we use the cursor they return to query further emotes.
src/emotes/downloader.rs:88
↓ 1 callersFunctionget_user_following
https://dev.twitch.tv/docs/api/reference/#get-followed-channels
src/twitch/channels.rs:55
↓ 1 callersFunctionhandle_roomstate
( tx: &Sender<TwitchToTerminalAction>, tags: &HashMap<&str, &str, S>, )
src/twitch/mod.rs:329
↓ 1 callersMethodhash_username
(&self, palette: &Palette)
src/handlers/data.rs:291
↓ 1 callersMethodid
(&self)
src/emotes/graphics_protocol.rs:72
↓ 1 callersFunctioninit_terminal
(frontend_config: &FrontendConfig)
src/commands.rs:39
next →1–100 of 272, ranked by callers