Skip to content

Commit

Permalink
Use use_kitty_keyboard_enhancement(true) in demo
Browse files Browse the repository at this point in the history
As we internally check whether it is available, this should be fine in
nearly all terminals (if they can safely be probed)
  • Loading branch information
sholderbach committed Nov 13, 2023
1 parent fa6a4b8 commit fab9f54
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/demo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ fn main() -> std::io::Result<()> {
.with_partial_completions(true)
.with_cursor_config(cursor_config)
.use_bracketed_paste(true)
.use_kitty_keyboard_enhancement(true)
.with_highlighter(Box::new(ExampleHighlighter::new(commands)))
.with_hinter(Box::new(
DefaultHinter::default().with_style(Style::new().fg(Color::DarkGray)),
Expand Down

0 comments on commit fab9f54

Please sign in to comment.