Skip to content

Commit

Permalink
lsp-devtools: Remove screenshot action and binding
Browse files Browse the repository at this point in the history
  • Loading branch information
alcarney committed Nov 23, 2024
1 parent fbb296f commit 5a6398d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/lsp-devtools/lsp_devtools/inspector/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,6 @@ class LSPInspector(App):
BINDINGS = [
("ctrl+b", "toggle_sidebar", "Sidebar"),
("ctrl+c", "quit", "Quit"),
("ctrl+s", "screenshot", "Take Screenshot"),
]

def __init__(self, db: Database, server: AgentServer, *args, **kwargs):
Expand All @@ -169,10 +168,6 @@ def compose(self) -> ComposeResult:
yield Container(ScrollableContainer(messages), Sidebar(viewer))
yield Footer()

def action_screenshot(self):
self.bell()
self.save_screenshot(None, "./")

def action_toggle_sidebar(self) -> None:
sidebar = self.query_one(Sidebar)
self.set_focus(None)
Expand Down

0 comments on commit 5a6398d

Please sign in to comment.