summaryrefslogtreecommitdiff
path: root/src/vtcol.rs
diff options
context:
space:
mode:
authorPhilipp Gesang <phg@phi-gamma.net>2022-08-07 11:55:44 +0200
committerPhilipp Gesang <phg@phi-gamma.net>2022-08-08 23:10:37 +0200
commitadc525cf75a08eef7aa96c7ca56eef5617becc06 (patch)
treeaa492e94a746605f7eab342bd27e2d915cdbb760 /src/vtcol.rs
parent48342e5bc46380d977edf178e31ad518eac7bd20 (diff)
downloadvtcol-adc525cf75a08eef7aa96c7ca56eef5617becc06.tar.gz
edit: present color palette
No actual editing functionality yet, just the colors layed out as squares on an 8?2 grid.
Diffstat (limited to 'src/vtcol.rs')
-rw-r--r--src/vtcol.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vtcol.rs b/src/vtcol.rs
index f12af09..feb8f0b 100644
--- a/src/vtcol.rs
+++ b/src/vtcol.rs
@@ -330,9 +330,9 @@ impl ColorJob
fn edit(name: Option<String>, scm: Scheme) -> Result<()>
{
vrb!("Launching color scheme editor for scheme {}", scm);
- let editor = crate::edit::Edit::new();
+ let editor = crate::edit::Edit::new(name, scm);
- editor.run(name, scm)
+ editor.run()
}
#[cfg(not(feature = "gui"))]