oxicode_vtui_compat/preview.rs
1// Minimal preview module stub for oxicode-vtui-compat
2pub fn truncate_with_ellipsis(_s: &str, _max_len: usize) -> String {
3 _s.to_string()
4}
5
6pub struct Preview {
7 _private: (),
8}
9
10impl Preview {
11 pub fn new() -> Self {
12 Self { _private: () }
13 }
14}
15
16impl Default for Preview {
17 fn default() -> Self {
18 Self::new()
19 }
20}