Closed MelanieT closed 3 years ago
Thanks for the report. Could you confirm that by running kubebox in a container, you mean running it with kubectl
?
kubectl, yes. i just used your command line from the readme.
By change, would you be able to try with docker run
in iTerm? I suspect this has more to do with how kubectl
deal with nouse events rather than the terminal.
Here is the command to run kubebox with Docker:
$ docker run -it --rm -v ~/.kube/:/home/node/.kube/:ro astefanutti/kubebox
Mouse events do not get forwarded. What I'm looking for is a keyboard way to scroll. I don't interact with terminals using the mouse so mouse events are diabled.
OK, then it relates to #31, for which we want to introduce full keyboard navigation and scrolling to address terminals for which mouse events are not supported or disabled.
It relates only somewhat, because the keys for log navigation are actually valid inputs in a teminal, so can't be used. What should be used are the navigation keys, as in a Linux console - shift pgup, shift pgdn.
It should be fixed with 7da074d23626bbb94fd5120536e54db30ae7d2e4.
When running kubebox in a container and displaying on iTerm on apple, it is not possible to scroll back in the terminal window (R-key). iTerm doesn't pass mouse events to curses, so mouse actions scroll the local iTerm history buffer, not the terminal session. Therefore, any output longer than the height of the screen becomes inaccessible.