mirror of
https://github.com/TECHNOFAB11/tmux-copyrat.git
synced 2025-12-16 01:43:51 +01:00
refactor: refactor ui -> vc
This commit is contained in:
parent
ec03a71bfd
commit
de1aa3889c
3 changed files with 38 additions and 16 deletions
|
|
@ -44,7 +44,7 @@ pub fn run(buffer: String, opt: &CliOpt) -> Option<selection::Selection> {
|
|||
let default_output_destination = output_destination::OutputDestination::Tmux;
|
||||
|
||||
let selection: Option<selection::Selection> = {
|
||||
let mut ui = ui::Ui::new(
|
||||
let mut ui = ui::ViewController::new(
|
||||
&mut model,
|
||||
opt.unique_hint,
|
||||
opt.focus_wrap_around,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue