Made command fields public (#338)
This commit is contained in:
parent
5b2ecf3381
commit
7dca7b1fcd
@ -78,7 +78,7 @@ impl Command for MoveTo {
|
|||||||
/// # Notes
|
/// # Notes
|
||||||
///
|
///
|
||||||
/// Commands must be executed/queued for execution otherwise they do nothing.
|
/// Commands must be executed/queued for execution otherwise they do nothing.
|
||||||
pub struct MoveToNextLine(u16);
|
pub struct MoveToNextLine(pub u16);
|
||||||
|
|
||||||
impl Command for MoveToNextLine {
|
impl Command for MoveToNextLine {
|
||||||
type AnsiType = String;
|
type AnsiType = String;
|
||||||
@ -99,7 +99,7 @@ impl Command for MoveToNextLine {
|
|||||||
/// # Notes
|
/// # Notes
|
||||||
///
|
///
|
||||||
/// Commands must be executed/queued for execution otherwise they do nothing.
|
/// Commands must be executed/queued for execution otherwise they do nothing.
|
||||||
pub struct MoveToPreviousLine(u16);
|
pub struct MoveToPreviousLine(pub u16);
|
||||||
|
|
||||||
impl Command for MoveToPreviousLine {
|
impl Command for MoveToPreviousLine {
|
||||||
type AnsiType = String;
|
type AnsiType = String;
|
||||||
@ -119,7 +119,7 @@ impl Command for MoveToPreviousLine {
|
|||||||
/// # Notes
|
/// # Notes
|
||||||
///
|
///
|
||||||
/// Commands must be executed/queued for execution otherwise they do nothing.
|
/// Commands must be executed/queued for execution otherwise they do nothing.
|
||||||
pub struct MoveToColumn(u16);
|
pub struct MoveToColumn(pub u16);
|
||||||
|
|
||||||
impl Command for MoveToColumn {
|
impl Command for MoveToColumn {
|
||||||
type AnsiType = String;
|
type AnsiType = String;
|
||||||
|
Loading…
Reference in New Issue
Block a user