Uploaded image for project: 'OpenShift Dev Console'
  1. OpenShift Dev Console
  2. ODC-5773

WebTerminal widget should send resize events

XMLWordPrintable

    • ODC Sprint 201, ODC Sprint 202
    • Medium

      From Christian:
      everytime the pod terminal updates we send this:

      const data = Base64.encode(JSON.stringify({ Height: rows, Width: cols }));
      this.ws && this.ws.send(`4${data}`);
      but widget that is used for WebTerminal does not seem to send it.

      It's critical for WebTerminal since even kubectl edit command does not work with the default terminal size.

        1. terminal-pod-exec-works.gif
          7.50 MB
          Sergii Leshchenko
        2. wto-vim-broken.gif
          3.00 MB
          Sergii Leshchenko

              sbudhwar-1 Sahil Budhwar
              sleshche Sergii Leshchenko (Inactive)
              Gajanan More Gajanan More (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: