Draw the footer with help text
(self)
| 152 | x += len(tab_text) + 1 |
| 153 | |
| 154 | def _draw_footer(self): |
| 155 | """Draw the footer with help text""" |
| 156 | height, width = self.stdscr.getmaxyx() |
| 157 | footer = " [Tab] Next | [Arrows] Navigate | [Enter] Edit | [F2] Run | [F3] Export | [F4] Import | [F10] Quit " |
| 158 | |
| 159 | try: |
| 160 | self.stdscr.attron(curses.color_pair(1)) |
| 161 | self.stdscr.addstr(height - 1, 0, footer.ljust(width)) |
| 162 | self.stdscr.attroff(curses.color_pair(1)) |
| 163 | except: |
| 164 | pass |
| 165 | |
| 166 | def _draw_current_tab(self): |
| 167 | """Draw the current tab content""" |