code: def _context_menu_make(self, pos):
          
          menu = super(ShellWidget, self)._context_menu_make(pos)
          return self.ipyclient.add_actions_to_context_menu(menu)
docs: Reimplement the IPython context menu