mirror of
https://github.com/zaphar/sheetsui.git
synced 2025-07-28 07:49: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
|
||||
```
|
||||
|
||||
### 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,13 +20,6 @@ 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,6 +451,7 @@ 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,6 +155,7 @@ 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