Port most of cursor movement logic
This commit is contained in:
parent
4cf0d861db
commit
48943f2316
4 changed files with 94 additions and 254 deletions
|
|
@ -5,7 +5,8 @@ use toss::frame::{Frame, Size};
|
|||
use crate::store::{Msg, MsgStore, Path, Tree};
|
||||
|
||||
use super::blocks::{Block, BlockBody, Blocks, MsgBlock};
|
||||
use super::{util, Cursor, InnerTreeViewState};
|
||||
use super::cursor::Cursor;
|
||||
use super::{util, InnerTreeViewState};
|
||||
|
||||
impl<M: Msg, S: MsgStore<M>> InnerTreeViewState<M, S> {
|
||||
async fn cursor_path(&self, cursor: &Cursor<M::Id>) -> Path<M::Id> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue