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

WebTerminal widget should send resize events

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • ODC Sprint 201, ODC Sprint 202
    • Moderate

      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. wto-vim-broken.gif
          3.00 MB
          Sergii Leshchenko
        2. terminal-pod-exec-works.gif
          7.50 MB
          Sergii Leshchenko

              sbudhwar-1 Sahil Budhwar
              sleshche Sergii Leshchenko (Inactive)
              Archiver:
              ranumula@redhat.com Raju Anumula
              Gajanan More Gajanan More

                Created:
                Updated:
                Resolved:
                Archived: