Skip to content

Commit

Permalink
feat: tui-realm 1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
veeso committed Aug 23, 2023
1 parent 9de171f commit cfbecc0
Show file tree
Hide file tree
Showing 3 changed files with 103 additions and 20 deletions.
111 changes: 97 additions & 14 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
authors = ["Christian Visintin <christian.visintin@veeso.dev>"]
categories = ["command-line-utilities"]
description = "termscp is a feature rich terminal file transfer and explorer with support for SCP/SFTP/FTP/S3"
description = "termscp is a feature rich terminal file transfer and explorer with support for SCP/SFTP/FTP/S3/SMB"
edition = "2021"
homepage = "https://termscp.veeso.dev"
include = ["src/**/*", "LICENSE", "README.md", "CHANGELOG.md"]
Expand Down Expand Up @@ -47,7 +47,7 @@ edit = "^0.1"
filetime = "^0.2"
hostname = "^0.3"
keyring = { version = "^2.0", optional = true }
lazy-regex = "^2.5"
lazy-regex = "^3"
lazy_static = "^1.4"
log = "^0.4"
magic-crypt = "^3.1"
Expand All @@ -74,8 +74,8 @@ ssh2-config = "^0.2"
tempfile = "^3.4"
thiserror = "^1"
toml = "^0.7"
tui-realm-stdlib = "^1.2"
tuirealm = "^1.8.0"
tui-realm-stdlib = "^1.3"
tuirealm = "^1.9"
unicode-width = "^0.1"
version-compare = "^0.1"
whoami = "^1.4"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use tuirealm::props::{
Alignment, AttrValue, Attribute, Borders, Color, Style, Table, TextModifiers,
};
use tuirealm::tui::layout::Corner;
use tuirealm::tui::text::{Span, Spans};
use tuirealm::tui::text::{Span, Line};
use tuirealm::tui::widgets::{List as TuiList, ListItem, ListState};
use tuirealm::{MockComponent, Props, State, StateValue};

Expand Down Expand Up @@ -211,7 +211,7 @@ impl MockComponent for FileList {
)
})
.collect();
ListItem::new(Spans::from(columns))
ListItem::new(Line::from(columns))
})
.collect(), // Make List item from TextSpan
_ => Vec::new(),
Expand Down

0 comments on commit cfbecc0

Please sign in to comment.