mirror of
https://github.com/zaphar/sheetsui.git
synced 2025-07-29 16:29:50 -04:00
Compare commits
5 Commits
a8d42321ce
...
c758f65a5c
Author | SHA1 | Date | |
---|---|---|---|
c758f65a5c | |||
142ecef24c | |||
f8faeacf39 | |||
982622859b | |||
f7cb6925de |
@ -35,13 +35,6 @@ Options:
|
|||||||
sheetui path/to/file.xlsx # edit/view a spreadsheet
|
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" />
|
<img src="./assets/screenshot.png" />
|
||||||
|
|
||||||
## Reference
|
## Reference
|
||||||
|
@ -20,13 +20,6 @@ Options:
|
|||||||
-V, --version Print version
|
-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
|
## User Interface
|
||||||
|
|
||||||
The sheetui user interface is loosely inspired by vim. It is a modal interface
|
The sheetui user interface is loosely inspired by vim. It is a modal interface
|
||||||
|
@ -451,6 +451,7 @@ impl<'ws> Workspace<'ws> {
|
|||||||
Ok(None)
|
Ok(None)
|
||||||
}
|
}
|
||||||
Ok(Some(Cmd::Quit)) => {
|
Ok(Some(Cmd::Quit)) => {
|
||||||
|
// TODO(zaphar): We probably need to do better than this
|
||||||
Ok(Some(ExitCode::SUCCESS))
|
Ok(Some(ExitCode::SUCCESS))
|
||||||
}
|
}
|
||||||
Ok(None) => {
|
Ok(None) => {
|
||||||
|
@ -155,6 +155,7 @@ impl<'ws> Viewport<'ws> {
|
|||||||
let mut cells = vec![Cell::new(Text::from(ri.to_string()))];
|
let mut cells = vec![Cell::new(Text::from(ri.to_string()))];
|
||||||
cells.extend(visible_columns.iter().map(
|
cells.extend(visible_columns.iter().map(
|
||||||
|VisibleColumn { idx: ci, length: _ }| {
|
|VisibleColumn { idx: ci, length: _ }| {
|
||||||
|
// TODO(zaphar): Is this safe?
|
||||||
let content = self
|
let content = self
|
||||||
.book
|
.book
|
||||||
.get_cell_addr_rendered(&Address { row: ri, col: *ci })
|
.get_cell_addr_rendered(&Address { row: ri, col: *ci })
|
||||||
|
Loading…
x
Reference in New Issue
Block a user