Remove App implementation: delete TUI application logic, event handling, and related structures.

This commit is contained in:
2025-09-30 02:40:20 +02:00
parent a5727c0a1d
commit 54bcabd53d
12 changed files with 450 additions and 3299 deletions

View File

@@ -7,7 +7,8 @@ use textwrap::{wrap, Options};
use tui_textarea::TextArea;
use unicode_width::UnicodeWidthStr;
use crate::chat_app::{ChatApp, InputMode};
use crate::chat_app::ChatApp;
use owlen_core::ui::{FocusedPanel, InputMode};
use owlen_core::types::Role;
pub fn render_chat(frame: &mut Frame<'_>, app: &mut ChatApp) {
@@ -436,7 +437,6 @@ fn render_header(frame: &mut Frame<'_>, area: Rect, app: &ChatApp) {
frame.render_widget(paragraph, inner_area);
}
use crate::chat_app::FocusedPanel;
fn apply_visual_selection(lines: Vec<Line>, selection: Option<((usize, usize), (usize, usize))>) -> Vec<Line> {
if let Some(((start_row, start_col), (end_row, end_col))) = selection {