skim icon indicating copy to clipboard operation
skim copied to clipboard

How to send user event to skim?

Open theidexisted opened this issue 1 year ago • 0 comments

Thanks for such a good project. I need to simulate user input, so I checked the code. There are several problems

  • The term is hidden, it's easy to work around buying returning the term
  • Though the underlay tuikit support inject user event, the user input event used in skim is the default template (), all the structs use the default template, so when I want to change the template argument, tons of compile errors occur:
        let term = Arc::new(
            Term::<Event>::with_options(
                TermOptions::default()
                    .min_height(min_height)
                    .height(height)
                    .clear_on_exit(!options.no_clear)
                    .hold(options.select1 || options.exit0 || options.sync),
            )
            .unwrap(),
        );

Any suggestions?

theidexisted avatar Sep 02 '22 03:09 theidexisted