From 86b2e0df7d6e87d2e2888e8ed309871fa4ada501 Mon Sep 17 00:00:00 2001 From: keith Date: Mon, 16 Dec 2019 00:22:06 -0800 Subject: [PATCH] filled in more parsers --- src/editor.rs | 13 +++++--- src/events.rs | 17 +++++++++- src/window.rs | 86 +++++++++++++++++++++++++++++++++++---------------- 3 files changed, 84 insertions(+), 32 deletions(-) diff --git a/src/editor.rs b/src/editor.rs index 5bb66ab..f522b90 100644 --- a/src/editor.rs +++ b/src/editor.rs @@ -1,6 +1,5 @@ use std::collections::HashMap; -use neovim_lib::{Neovim, NeovimApi}; use skulpin::skia_safe::{colors, Color4f}; use crate::events::{GridLineCell, RedrawEvent}; @@ -90,6 +89,7 @@ impl CursorType { pub struct Editor { pub grid: Vec>, + pub title: String, pub cursor_pos: (u64, u64), pub cursor_type: CursorType, pub cursor_style: Option