Skip to content

Commit

Permalink
[errors-] add sysopen-error to Error/ErrorCell sheet guides
Browse files Browse the repository at this point in the history
  • Loading branch information
midichef authored and anjakefala committed Dec 27, 2024
1 parent efbe84e commit c836d6c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion visidata/textsheet.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,12 @@ class ErrorSheet(TextSheet):
ColumnItem('linenum', 0, type=int, width=0),
ColumnItem('error', 1),
]
guide = '''# Error Sheet'''
guide = '''
# Error Sheet
This is the traceback for an error.
- move cursor then {help.commands.sysopen_error}
- `q` to quit this error sheet.
'''
precious = False

def sysopen_error(self, col, row):
Expand All @@ -86,6 +91,7 @@ class ErrorCellSheet(ErrorSheet):
]
guide = '''# Error Cell Sheet
This sheet shows the error that occurred when calculating a cell.
- move cursor then {help.commands.sysopen_error}
- `q` to quit this error sheet.
'''

Expand Down

0 comments on commit c836d6c

Please sign in to comment.