Make Cursor and Direction pub to avoid warnings
This commit is contained in:
parent
cc1debc051
commit
5022408e65
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue