diff --git a/visidata/features/scroll_context.py b/visidata/features/scroll_context.py index 2cc1a2ddf..a0aaab552 100644 --- a/visidata/features/scroll_context.py +++ b/visidata/features/scroll_context.py @@ -51,7 +51,7 @@ def toggle_scrollfix(sheet): vd.status("cursor unlocked") else: sheet.disp_scrollfix = sheet.cursorRowIndex - sheet.topRowIndex - vd.status("cursor locked to screen row {sheet.disp_scrollfix}") + vd.status(f"cursor locked to screen row {sheet.disp_scrollfix}") Sheet.addCommand('', 'toggle-scrollfix', 'toggle_scrollfix()', helpstr='toggle cursor lock to current screen row')