Skip to content

kaedenwile/rust-cell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cell

A terminal based spreadsheet program built in Rust.

Screenshot 2024-12-14 at 9 01 29 PM

Background

This is my first time using Rust, and I thought a terminal spreadsheet program would be a great project to get started with. This was only intended to be a toy spreadsheet, but it should be able to read/write arbitrary CSV files and do simple math.

The Rust by Example book was a very helpful resource along the way.

Controls

The app is split into Nav mode and Edit mode.

When in Nav mode:

  • Press q to exit the program
  • Press ctrl+s to save the file (then type in a file name and press enter)
  • Use the arrow keys to move around
  • Press = to start editing a cell (see Edit mode controls below)
  • Press Backspace to clear a cell
  • Use wasd to scroll the viewport
  • Press ctrl+z to undo
  • Press ctrl+y to redo

When in Edit mode:

  • Press enter to finish editing the cell
  • Press escape to abort your changes
  • Use left-arrow and right-arrow to move the cursor

Feature List

  • Status bar
  • Compute values
  • Edit cursor
  • Compute with cell references (A1, B2)
  • Support for string values
  • Undo / redo
  • Save / load
  • Pretty error messages

About

A terminal spreadsheet program in rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages