How generalfundam1/tsheet works
tsheet is a C terminal spreadsheet. Users open or create a sheet, edit and format selected cells, then save or use clipboard, conversion, and graph features. The graph follows documented responsibilities and sampled implementation details; several connections between the editor and feature modules are dashed because the excerpts do not show the calls.
Main entry points: app.c Editor and commands · graph.c Graph generation · sheet.c Cells and formulas · ui.c Grid and dialogs
Components 15
Terminal interaction
- Editor and commands
app.c - Menus and bindings
config.h - Grid and dialogs
ui.c - Terminal input/output
term.c
Spreadsheet core
- Cells and formulas
sheet.c - Shared types
tsheet.h
Files and clipboard
- Text and structured files
io.c - XLSX and ODS reader
read.c - HTML tables
html.c - System clipboard
clip.c
Data features
- Unit conversions
units.c - Graph generation
graph.c
Other components
- User
- gnuplot
- PDF viewer
Connections 16
- User → Editor and commands: edits sheet
README.md - Editor and commands → Menus and bindings: uses actions
README.md - Editor and commands → Grid and dialogs: updates display
README.md - Terminal input/output → Editor and commands: provides input
- Editor and commands → Terminal input/output: writes display
- Editor and commands → Cells and formulas: edits cells
- Grid and dialogs → Cells and formulas: renders cells
- Editor and commands → Text and structured files: loads and saves
- Editor and commands → XLSX and ODS reader: opens workbooks
- Editor and commands → System clipboard: copies and pastes
- Editor and commands → HTML tables: exchanges tables
- Editor and commands → Unit conversions: converts values
- Editor and commands → Graph generation: requests graph
- Graph generation → Cells and formulas: reads selected cells
graph.c - Graph generation → gnuplot: renders plot
graph.c - Graph generation → PDF viewer: opens PDF
graph.c