Update tree explore with new helix event types

Signed-off-by: trivernis <trivernis@protonmail.com>
imgbot
trivernis 2 years ago
parent 151ac52741
commit 117e3b3b55
Signed by: Trivernis
GPG Key ID: DFFFCC2C7A02DB45

@ -4,8 +4,8 @@ use crate::{
ctrl, key, shift, ui,
};
use anyhow::{bail, ensure, Result};
use crossterm::event::{Event, KeyEvent};
use helix_core::Position;
use helix_view::input::{Event, KeyEvent};
use helix_view::{
editor::Action,
graphics::{CursorKind, Modifier, Rect},

@ -7,9 +7,9 @@ use crate::{
compositor::{Context, EventResult},
ctrl, key, shift,
};
use crossterm::event::{Event, KeyEvent};
use helix_core::unicode::width::UnicodeWidthStr;
use helix_view::graphics::Rect;
use helix_view::input::Event;
use helix_view::{graphics::Rect, input::KeyEvent};
use tui::{buffer::Buffer as Surface, text::Spans};
pub trait TreeItem: Sized {

Loading…
Cancel
Save