1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
//! Developer widgets - Development and debugging tools
//!
//! This module provides widgets specifically designed for developer tools,
//! debugging, and terminal-based development environments.
//!
//! # Widget Categories
//!
//! ## Editor & Terminal
//!
//! | Widget | Description | Constructor |
//! |--------|-------------|-------------|
//! | [`CodeEditor`] | Code editor with syntax highlighting | [`code_editor()`] |
//! | [`Terminal`] | Embedded terminal emulator | [`terminal()`] |
//!
//! ## HTTP & API
//!
//! | Widget | Description | Constructor |
//! |--------|-------------|-------------|
//! | [`HttpClient`] | HTTP request widget | [`http_client()`] |
//! | `http_get`, `http_post`, etc. | HTTP method shortcuts | See crate::http_get |
//!
//! ## AI & Streaming
//!
//! | Widget | Description | Constructor |
//! |--------|-------------|-------------|
//! | [`AiStream`] | AI streaming text widget | [`ai_stream()`] |
//!
//! ## Presentations
//!
//! | Widget | Description | Constructor |
//! |--------|-------------|-------------|
//! | [`Presentation`] | Slideshow/presentation mode | [`presentation()`] |
//!
//! ## Monitoring
//!
//! | Widget | Description | Constructor |
//! |--------|-------------|-------------|
//! | `ProcessMonitor` | System process monitor | `htop()`, `process_monitor()` |
//!
//! *Requires `sysinfo` feature*
//!
//! ## Text Processing
//!
//! | Widget | Description | Constructor |
//! |--------|-------------|-------------|
//! | `DiffViewer` | Diff/patch viewer | `diff_viewer()` |
//! | `TreeSitterHighlighter` | Syntax highlighting | - |
//!
//! *Requires `diff` feature for DiffViewer, `syntax-highlighting` for TreeSitterHighlighter*
//!
//! ## Editor Modes
//!
//! | Widget | Description | Constructor |
//! |--------|-------------|-------------|
//! | [`VimState`] | Vim mode for text input | [`vim_state()`] |
//!
//! # Quick Start
//!
//! ## Code Editor
//!
//! ```rust,ignore
//! use revue::prelude::*;
//!
//! code_editor()
//! .language("rust")
//! .content("fn main() { println!(\"Hello\"); }")
//! .line_numbers(true)
//! .width(60)
//! .height(20);
//! ```
//!
//! ## HTTP Client
//!
//! ```rust,ignore
//! use revue::prelude::*;
//!
//! http_client()
//! .url("https://api.example.com/data")
//! .method(HttpMethod::GET)
//! .on_response(|response| {
//! println!("Status: {}", response.status);
//! });
//! ```
//!
//! ## Process Monitor
//!
//! ```rust,ignore
//! use revue::prelude::*;
//!
//! htop()
//! .sort_by(ProcessSort::CPU)
//! .refresh_rate(Duration::from_millis(1000));
//! ```
//!
//! ## Vim Mode
//!
//! ```rust,ignore
//! use revue::prelude::*;
//!
//! vim_state()
//! .mode(VimMode::Normal)
//! .handle_key(Key::Char('i')); // Enter insert mode
//! ```
// Re-exports for convenience
pub use ;
pub use ;
pub use ;
pub use ;
pub use ;
pub use ;
pub use ;
pub use TreeSitterHighlighter;
pub use ;