waveterm icon indicating copy to clipboard operation
waveterm copied to clipboard

Putting block to sidebar resets output

Open FallconTXoC opened this issue 1 year ago • 3 comments

Describe the bug When putting a command block to the sidebar (or vise-verse) it resets the output if it was still running and only displays the latest output.

To Reproduce Steps to reproduce the behavior:

  1. Run a program that displays a series of outputs with the only live output being the last line such as Wifite
  2. Move it to sidebar while it's still running
  3. See that the previous outputs don't appear anymore

Expected behavior Output should be kept.

Screenshots This is after putting the command block to sidebar : Screenshot from 2024-02-22 16-01-55

Desktop (please complete the following information):

  • OS: Linux x64 (Ubuntu 22.04)
  • Version v0.6.2

FallconTXoC avatar Feb 22 '24 15:02 FallconTXoC

Edit: Sorry, should have looked more thoughrouly, it doesn't seem to reset output but rather it adds a huge amount of spacing, see screenshot below, which is just a fraction of the whole output (while it didn't have any space between lines in the original output). These paddings remain after putting it back to the normal view.

PS: no worries these MAC addresses are from devices that are meant for tests, nothing sensitive.

Screenshot from 2024-02-22 16-07-03

FallconTXoC avatar Feb 22 '24 15:02 FallconTXoC

Ah, thanks for reporting, will take a look -- probably like you said that we're not re-reading the original output correctly when transferring a running command. Quick question, was there a lot of output -- like thousands of lines?

sawka avatar Feb 23 '24 02:02 sawka

No it was only like a hundred of lines at most.

This is how it looks (there are few lines more below) : Screenshot from 2024-02-23 10-54-24

FallconTXoC avatar Feb 23 '24 10:02 FallconTXoC