Repository navigation
Conversation
|
Still missing from this PR:
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1435 +/- ##
==========================================
+ Coverage 75.48% 79.61% +4.13%
==========================================
Files 303 305 +2
Lines 9593 9787 +194
==========================================
+ Hits 7241 7792 +551
+ Misses 2352 1995 -357
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
Would be awesome if users could directly show it in their terminal. For example with the Kitty graphics protocol I can run this right now to render the image in the terminal (Ghostty): hcloud server screenshot <name>
viu screenshot.pngIf hcloud server screenshot <name> -o - | viu - |
02a2d51 to
63d4b60
Compare
jooola
left a comment
There was a problem hiding this comment.
Looks good, maybe we could improve the maintainability of this new code.
Please rebase on top of the main branch.
Adds a new `hcloud server screenshot -o screenshot.png <server>`, that take a screenshot of the server console using a VNC client.
68c9986 to
1162052
Compare
| serverMessages chan vnc.ServerMessage | ||
| } | ||
|
|
||
| func OpenVNCSession(ctx context.Context, wsURL string, debugOut io.Writer) (*VNCSession, error) { |
There was a problem hiding this comment.
| func OpenVNCSession(ctx context.Context, wsURL string, debugOut io.Writer) (*VNCSession, error) { | |
| func NewVNCSession(ctx context.Context, wsURL string, debugOut io.Writer) (*VNCSession, error) { |
jooola
left a comment
There was a problem hiding this comment.
Great, thanks for pushing this the extra mile!
Looks good, free to address my suggestion or merge directly.
Adds a new
hcloud server screenshot -o screenshot.png <server>, that take a screenshot of the server console using a VNC client.Fixes #1420