Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/FedericoBruzzone/tgt
/ types & classes
Types & classes
60 in github.com/FedericoBruzzone/tgt
⨍
Functions
413
◇
Types & classes
60
↓ 2 callers
Class
ReplyMessage
`ReplyMessage` is a struct that represents a window for replying to messages. It is responsible for managing the layout and rendering of the reply mes
src/components/reply_message.rs:22
Enum
Action
Action` is an enum that represents an action that can be handled by the main application loop and the components of the user interface.
src/action.rs:72
Enum
ActionBinding
The action binding.
src/configs/custom/keymap_custom.rs:21
Class
App
This struct holds the current state of the app. In particular, it has the `items` field which is a wrapper around `ListState`. Keeping track of the it
examples/example_chat_list.rs:91
Class
AppConfig
The application configuration.
src/configs/custom/app_custom.rs:9
Class
AppContext
`AppContext` is a struct that represents the main application. It contains the application configuration, keymap configuration, theme configuration, p
src/app_context.rs:65
Enum
AppError
An error type for the application. It is used to represent the application error. It can be one of the following: Io: An IO error. Send: A send error.
src/app_error.rs:13
Class
AppRaw
The raw application configuration.
src/configs/raw/app_raw.rs:5
Class
ChatListEntry
src/components/chat_list_window.rs:20
Class
ChatListWindow
`ChatListWindow` is a struct that represents a window for displaying a list of chat items. It is responsible for managing the layout and rendering of
src/components/chat_list_window.rs:130
Class
ChatWindow
`ChatWindow` is a struct that represents a window for displaying a chat. It is responsible for managing the layout and rendering of the chat window.
src/components/chat_window.rs:23
Class
CliArgs
src/cli.rs:7
Interface
Component
`Component` is a trait that represents a visual and interactive element of the user interface. Implementors of this trait can be registered with the m
src/components/component_traits.rs:13
Enum
ComponentName
`ComponentName` is an enum that represents the name of a component in the user interface.
src/component_name.rs:6
Interface
ConfigFile
A trait for configuration files. This trait is used to define a configuration file and its associated configuration struct. The configuration struct m
src/configs/config_file.rs:46
Enum
ConfigType
`ConfigType` is an enum that represents the different types of configuration files that the application can use. The different types of configuration
src/configs/config_type.rs:16
Class
CoreWindow
`CoreWindow` is a struct that represents the core window of the application. It is responsible for managing the layout and rendering of the core windo
src/components/core_window.rs:24
Class
DateTimeEntry
src/tg/message_entry.rs:12
Enum
DirSelection
src/components/prompt_window.rs:28
Enum
Event
`Event` is an enum that represents the different types of events that can be generated by the intraction with the terminal (`tui_backend`). These even
src/event.rs:13
Enum
HandleCliOutcome
An enum to represent the outcome of the handle_cli function.
src/run.rs:318
Interface
HandleFocus
`HandleFocus` is a trait that represents a component that can handle focus actions. Implementors of this trait can be notified when they have focus an
src/components/component_traits.rs:119
Class
Input
`Input` is a struct that represents the input of a prompt. It is responsible for managing the input of the prompt.
src/components/prompt_window.rs:65
Class
InputCell
src/components/prompt_window.rs:57
Class
KeymapConfig
The keymap configuration.
src/configs/custom/keymap_custom.rs:48
Class
KeymapEntry
The command keymap configuration.
src/configs/raw/keymap_raw.rs:5
Enum
KeymapKind
The kind of keymap. It is used to check for conflicts in the keymaps. If a keymap entry is present in multiple keymaps, it is considered a conflict
src/configs/custom/keymap_custom.rs:39
Class
KeymapMode
The keymap configuration.
src/configs/raw/keymap_raw.rs:18
Class
KeymapRaw
The raw keymap configuration.
src/configs/raw/keymap_raw.rs:26
Class
Logger
The logger. This struct is used to initialize the logger for the application.
src/logger.rs:14
Class
LoggerConfig
The logger configuration.
src/configs/custom/logger_custom.rs:10
Class
LoggerRaw
The raw logger configuration.
src/configs/raw/logger_raw.rs:5
Class
MessageEntry
src/tg/message_entry.rs:37
Enum
Mode
`Mode` is an enum that represents the mode of the prompt. It is used to keep track of the mode of the prompt.
src/components/prompt_window.rs:42
Class
Modifiers
`Modifiers` is a struct that represents the modifiers of a key event. It is used to determine the state of the modifiers when a key event is generated
src/action.rs:16
Class
OrderedChat
src/tg/ordered_chat.rs:4
Class
OrderedChat
examples/telegram.rs:31
Class
PaletteConfig
The palette configuration.
src/configs/custom/palette_custom.rs:14
Class
PaletteRaw
The raw palette configuration.
src/configs/raw/palette_raw.rs:6
Class
PromptWindow
`PromptWindow` is a struct that represents a window for displaying a prompt. It is responsible for managing the layout and rendering of the prompt win
src/components/prompt_window.rs:524
Class
StatefulList
This struct holds the current state of the list and the items.
examples/example_chat_list.rs:16
Class
StatusBar
`StatusBar` is a struct that represents a status bar. It is responsible for managing the layout and rendering of the status bar.
src/components/status_bar.rs:19
Enum
TdChatList
src/tg/td_enums.rs:12
Enum
TdMessageReplyTo
src/tg/td_enums.rs:19
Class
TdMessageReplyToMessage
src/tg/td_enums.rs:25
Class
TdMessageReplyToStory
src/tg/td_enums.rs:52
Enum
TdMessageSender
src/tg/td_enums.rs:6
Class
TelegramCli
The Telegram commands.
src/cli.rs:23
Class
TelegramConfig
The telegram configuration.
src/configs/custom/telegram_custom.rs:13
Class
TelegramRaw
The telegram raw configuration.
src/configs/raw/telegram_raw.rs:5
Class
TgBackend
src/tg/tg_backend.rs:19
Class
TgBackend
examples/telegram.rs:76
Class
TgContext
src/tg/tg_context.rs:22
Class
ThemeConfig
The theme configuration.
src/configs/custom/theme_custom.rs:15
Class
ThemeEntry
The theme entry.
src/configs/raw/theme_raw.rs:6
Class
ThemeRaw
The raw theme configuration.
src/configs/raw/theme_raw.rs:21
Class
ThemeStyle
`ThemeStyle` is a struct that represents a style in the theme config. It is responsible for managing the style of the theme. It contains the foregroun
src/configs/config_theme.rs:9
Class
TitleBar
`TitleBar` is a struct that represents a title bar. It is responsible for managing the layout and rendering of the title bar.
src/components/title_bar.rs:19
Class
Tui
`Tui` is a struct that represents the main user interface for the application. It is responsible for managing the layout and rendering of all the comp
src/tui.rs:20
Class
TuiBackend
`TuiBackend` is a struct that represents the backend for the user interface. It is responsible for managing the terminal and buffering events for proc
src/tui_backend.rs:27