From 78b5cfe6c8afaf3cf454339b6417cd9c0bf4441e Mon Sep 17 00:00:00 2001 From: geekscrapy Date: Fri, 10 Nov 2023 15:33:25 +0400 Subject: [PATCH] [scroll_context] formatter on status corrected --- visidata/features/scroll_context.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')