Execute command scripts through full input runner

This commit is contained in:
ramox81 committed 2026-09-08 13:52:18 +03:00
1 parent 8bb6703c70
commit d426012660
4 files changed
+20 -8

No files matched your search

+3 -1
View File
@@ -134,7 +134,9 @@ fn main() -> iced::Result {
Ok(text) => text
.lines()
.map(str::trim)
.filter(|l| !l.is_empty() && !l.starts_with('#'))
// Blank script rows are significant: they submit Enter to
// the active command (for example, accepting a preview).
.filter(|l| !l.starts_with('#') && !l.starts_with(';'))
.map(str::to_string)
.collect(),
Err(e) => {