mirror of
https://github.com/zaphar/sheetsui.git
synced 2025-07-26 14:59:51 -04:00
Compare commits
8 Commits
c758f65a5c
...
a8d42321ce
Author | SHA1 | Date | |
---|---|---|---|
a8d42321ce | |||
9b2f2fbbc3 | |||
df936af046 | |||
37ce1ba7af | |||
29270c800c | |||
4b6b8cfa02 | |||
b267a92b60 | |||
a170c1dff3 |
@ -35,6 +35,13 @@ Options:
|
||||
sheetui path/to/file.xlsx # edit/view a spreadsheet
|
||||
```
|
||||
|
||||
### Supported files
|
||||
|
||||
Currently we only support the [ironcalc](https://docs.ironcalc.com/) xlsx
|
||||
features for spreadsheet. CSV import and expor are planned.
|
||||
|
||||
### Screenshot
|
||||
|
||||
<img src="./assets/screenshot.png" />
|
||||
|
||||
## Reference
|
||||
|
@ -20,6 +20,13 @@ Options:
|
||||
-V, --version Print version
|
||||
```
|
||||
|
||||
## Supported formats
|
||||
|
||||
Currently we only support the [ironcalc](https://docs.ironcalc.com/) xlsx
|
||||
features for spreadsheet. I plan to handle csv import and export at some point.
|
||||
I also might support other export formats as well but for the moment just csv
|
||||
and it's variants such as tsv are in the roadmap.
|
||||
|
||||
## User Interface
|
||||
|
||||
The sheetui user interface is loosely inspired by vim. It is a modal interface
|
||||
|
@ -451,7 +451,6 @@ impl<'ws> Workspace<'ws> {
|
||||
Ok(None)
|
||||
}
|
||||
Ok(Some(Cmd::Quit)) => {
|
||||
// TODO(zaphar): We probably need to do better than this
|
||||
Ok(Some(ExitCode::SUCCESS))
|
||||
}
|
||||
Ok(None) => {
|
||||
|
@ -155,7 +155,6 @@ impl<'ws> Viewport<'ws> {
|
||||
let mut cells = vec![Cell::new(Text::from(ri.to_string()))];
|
||||
cells.extend(visible_columns.iter().map(
|
||||
|VisibleColumn { idx: ci, length: _ }| {
|
||||
// TODO(zaphar): Is this safe?
|
||||
let content = self
|
||||
.book
|
||||
.get_cell_addr_rendered(&Address { row: ri, col: *ci })
|
||||
|
Loading…
x
Reference in New Issue
Block a user