forked from mars/breed
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;
|
use theme::StyleStore;
|
||||||
|
|
||||||
#[derive(Copy, Clone, Debug, Default)]
|
#[derive(Copy, Clone, Debug, Default)]
|
||||||
struct Cursor {
|
pub struct Cursor {
|
||||||
pub column: usize,
|
pub column: usize,
|
||||||
pub line: usize,
|
pub line: usize,
|
||||||
}
|
}
|
||||||
|
@ -86,7 +86,7 @@ impl Mode {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Copy, Clone, Debug)]
|
#[derive(Copy, Clone, Debug)]
|
||||||
enum Direction {
|
pub enum Direction {
|
||||||
Left,
|
Left,
|
||||||
Down,
|
Down,
|
||||||
Up,
|
Up,
|
||||||
|
|
Reference in New Issue
Block a user