| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent f7d8b77 commit fadc1fb
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -108,10 +108,12 @@ def process_event_and_paint(self, e): | |||
| 108 | 108 | self.scroll_offset += scrolled | |
| 109 | 109 | raise | |
| 110 | 110 | else: | |
| 111 | - array, cursor_pos = self.paint() | ||
| 112 | - scrolled = self.window.render_to_terminal(array, cursor_pos) | ||
| 113 | - self.scroll_offset += scrolled | ||
| 114 | - | ||
| 111 | + try: | ||
| 112 | + array, cursor_pos = self.paint() | ||
| 113 | + scrolled = self.window.render_to_terminal(array, cursor_pos) | ||
| 114 | + self.scroll_offset += scrolled | ||
| 115 | + except TypeError: | ||
| 116 | + ... | ||
| 115 | 117 | def mainloop(self, interactive=True, paste=None): | |
| 116 | 118 | if interactive: | |
| 117 | 119 | # Add custom help command | |
| Back | FazBrowse Home | New Git URL |
0 commit comments