Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keep last lines of command output (after send command to image) visible in window #21

Open
vlcinsky opened this issue Jul 30, 2018 · 2 comments

Comments

@vlcinsky
Copy link

Currently, when a command is sent to a docker image (e.g. ping google.com, or find ., only first lines of the output are shown in vim window and after the window gets filled, new lines appended to the end are not visible (unless you move there cursor manually).

Expected behaviour is to keep the last line always visible, similarly as when you run such command in neovim :terminal window.

Note, that if #20 (follow mode for logs) are to be implemented, the same shall apply to them too.

@kkvh
Copy link
Owner

kkvh commented Jul 31, 2018

Would you mind providing screenshot? Thanks.

@vlcinsky
Copy link
Author

Sure. Sending command find . to running ubuntu image.

After I run it:
javl t810 192 168 8 170 - byobu_023

Then I :set number to show line numbers:
javl t810 192 168 8 170 - byobu_024

and use G to jump to the bottom:
javl t810 192 168 8 170 - byobu_025

using:

                                                                                                     
:version
NVIM v0.3.1-1-g489d32f2b

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants