We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c118769 commit bf266c5Copy full SHA for bf266c5
src/main.rs
@@ -33,7 +33,7 @@ use stitch::core::{
33
};
34
35
#[cfg(feature = "ui")]
36
-const UI_OUTPUT_CHAR_LIMIT: usize = 10_000;
+const UI_OUTPUT_CHAR_LIMIT: usize = 50_000;
37
38
39
#[derive(Default)]
@@ -452,7 +452,8 @@ fn on_generate_output(app: &AppWindow, state: &Rc<RefCell<AppState>>) {
452
453
454
fn on_copy_output(app: &AppWindow, state: &Rc<RefCell<AppState>>) {
455
- let text = app.get_output_text().to_string();
+ let text = { state.borrow().full_output_text.clone() };
456
+
457
if text.is_empty() {
458
app.set_copy_toast_text("Nothing to copy".into());
459
app.set_show_copy_toast(true);
0 commit comments