Make Cursor and Direction pub to avoid warnings

This commit is contained in:
mars 2023-04-12 00:01:53 -04:00
parent cc1debc051
commit 5022408e65
1 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ use buffer::Buffer;
use theme::StyleStore;
#[derive(Copy, Clone, Debug, Default)]
struct Cursor {
pub struct Cursor {
pub column: usize,
pub line: usize,
}
@ -86,7 +86,7 @@ impl Mode {
}
#[derive(Copy, Clone, Debug)]
enum Direction {
pub enum Direction {
Left,
Down,
Up,