(self)
| 48 | return common.format_keyvals(kvs) |
| 49 | |
| 50 | def keybindings(self): |
| 51 | text = [urwid.Text([("title", "Common Keybindings")])] |
| 52 | |
| 53 | text.extend(self.format_keys(self.master.keymap.list("commonkey"))) |
| 54 | |
| 55 | text.append(urwid.Text(["\n", ("title", "Keybindings for this view")])) |
| 56 | if self.helpctx: |
| 57 | text.extend(self.format_keys(self.master.keymap.list(self.helpctx))) |
| 58 | |
| 59 | text.append( |
| 60 | urwid.Text( |
| 61 | [ |
| 62 | "\n", |
| 63 | ("title", "Global Keybindings"), |
| 64 | ] |
| 65 | ) |
| 66 | ) |
| 67 | |
| 68 | text.extend(self.format_keys(self.master.keymap.list("global"))) |
| 69 | |
| 70 | return CListBox(text) |
| 71 | |
| 72 | def filtexp_title(self): |
| 73 | return "Filter Expressions" |
nothing calls this directly
no test coverage detected