Made command fields public (#338)

This commit is contained in:
Timon 2019-12-04 07:22:38 +01:00 committed by GitHub
parent 5b2ecf3381
commit 7dca7b1fcd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;