spreadsheet

terminal spreadsheet application
git clone https://git.ce9e.org/spreadsheet.git

commit
965115ae120856328d5c240a33ecabc8b4c65287
parent
220c3f07f21a2d13adc0d689d10ece05c1484bb1
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2024-07-06 18:18
enter quick input on -

Diffstat

M sheet/__main__.py 2 +-

1 files changed, 1 insertions, 1 deletions


diff --git a/sheet/__main__.py b/sheet/__main__.py

@@ -189,7 +189,7 @@ class App(boon.App):
  189   189         elif key == '\n':
  190   190             raw = self.sheet.get_raw(self.cursor)
  191   191             self.input = Input(raw, self.submit_input, self.cancel_input, full=True)
  192    -1         elif key in '=0123456789':
   -1   192         elif key in '-=0123456789':
  193   193             self.input = Input(key, self.submit_input, self.cancel_input, full=False)
  194   194         elif key == boon.KEY_DEL:
  195   195             self.sheet.set(self.cursor, '')