Skip to content

Commit 35d81fa

Browse files
[Fix] Fix core command doc panel scrolling to the bottom.
This commit uses the `scroll_to_bof` command to prevent scrolling to the bottom when the doc panel opens. Let's see if it works.
1 parent 2e534d1 commit 35d81fa

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/utils/core_commands_utils.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ def core_commands_doc_panel(window, docs):
6969
"panel": "output.CommandsBrowser",
7070
})
7171

72+
doc_panel.run_command("scroll_to_bof")
73+
7274

7375
def get_core_commands_data(application = "st"):
7476
""" Given the application type, generates a list of items representing

0 commit comments

Comments
 (0)