aboutsummaryrefslogtreecommitdiff
path: root/src/command.rs
diff options
context:
space:
mode:
authorFuwn <[email protected]>2022-07-17 10:52:58 +0000
committerFuwn <[email protected]>2022-07-17 10:52:58 +0000
commit3287ca848c1abde039a237fc1af0e48b63a91409 (patch)
tree46c81727200e74bdc78ce3032e4de51fa0d22611 /src/command.rs
parentdocs(README.md): add gif of usage (diff)
downloadsydney-3287ca848c1abde039a237fc1af0e48b63a91409.tar.xz
sydney-3287ca848c1abde039a237fc1af0e48b63a91409.zip
feat(app.rs): auto obtain terminal width
Diffstat (limited to 'src/command.rs')
-rw-r--r--src/command.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command.rs b/src/command.rs
index 4dc3615..f17b235 100644
--- a/src/command.rs
+++ b/src/command.rs
@@ -19,7 +19,7 @@ pub enum Command {
Quit,
Open(Option<String>),
Unknown,
- Wrap(usize, Option<String>),
+ Wrap(u16, Option<String>),
}
impl From<String> for Command {
fn from(s: String) -> Self {