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