Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
90 changes: 65 additions & 25 deletions Cargo.lock

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

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ categories = ["command-line-utilities", "development-tools", "data-structures",
exclude = ["/.github", "CHANGELOG.md", ".gitignore"]

[dependencies]
ratatui = "0.24.0"
ratatui = "0.27.0"
crossterm = "0.27.0"
calamine = "0.27.0"
anyhow = "1.0.79"
Expand All @@ -20,10 +20,10 @@ serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
chrono = "0.4"
indexmap = { version = "2.0", features = ["serde"] }
tui-textarea = "0.4.0"
tui-textarea = "0.5.0"

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
strip = true
strip = true
1 change: 1 addition & 0 deletions src/ui/render.rs
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,7 @@ fn draw_spreadsheet(f: &mut Frame, app_state: &AppState, area: Rect) {
let table = Table::new(
// Combine header and data rows
std::iter::once(header).chain(rows),
[Constraint::Length(1)]
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Table::new now requires two args. Hard-coding a single Constraint::Length(1) is me being lazy. I have no idea whether this is OK.

)
.block(table_block)
.style(cell_style)
Expand Down
Loading