We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9da64bd commit 0eba0bbCopy full SHA for 0eba0bb
guake/dialogs.py
@@ -149,7 +149,7 @@ def run(self):
149
col = self.terminal.get_column_count()
150
content = self.terminal.get_text_range(0, 0, row, col)
151
152
- if content:
+ if content and content[0]:
153
selection = content[0].rstrip().lstrip()
154
else: # Call the original method if get_text_range fails for some reason. (Can it fail?)
155
self.terminal.select_all()
0 commit comments