Skip to content

Commit

Permalink
[features-] move reload-rows from BaseSheet to Sheet
Browse files Browse the repository at this point in the history
  • Loading branch information
midichef authored and anjakefala committed Nov 7, 2024
1 parent 2bcd025 commit 775afd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion visidata/features/reload_every.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def reload_rows(self):

BaseSheet.addCommand('', 'reload-every', 'sheet.reload_every(input("reload interval (sec): ", value=1))', 'schedule sheet reload every N seconds') #683
BaseSheet.addCommand('', 'reload-modified', 'sheet.reload_modified()', 'reload sheet when source file modified (tail-like behavior)') #1686
BaseSheet.addCommand('z^R', 'reload-rows', 'preloadHook(); reload_rows(); status("reloaded")', 'Reload current sheet')
Sheet.addCommand('z^R', 'reload-rows', 'preloadHook(); reload_rows(); status("reloaded")', 'Reload current sheet')

vd.addMenuItems('''
File > Reload > rows only > reload-rows
Expand Down

0 comments on commit 775afd3

Please sign in to comment.