mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-14 12:34:44 +02:00
When dropping URLs/files onto kitty at a shell prompt insert them appropriately quoted and space separated
This commit is contained in:
@@ -520,9 +520,13 @@ class Window:
|
||||
def current_colors(self) -> Dict[str, Optional[int]]:
|
||||
return self.screen.color_profile.as_dict()
|
||||
|
||||
@property
|
||||
def at_prompt(self) -> bool:
|
||||
return self.screen.cursor_at_prompt()
|
||||
|
||||
@property
|
||||
def has_running_program(self) -> bool:
|
||||
return not self.screen.cursor_at_prompt()
|
||||
return not self.at_prompt
|
||||
|
||||
def matches(self, field: str, pat: MatchPatternType) -> bool:
|
||||
if not pat:
|
||||
|
||||
Reference in New Issue
Block a user