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

Remove unnecessary sixel sequence wrapper. #146

Merged
merged 1 commit into from
Jan 4, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions src/sixel-canvas.cc
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,6 @@ void SixelCanvas::Send(int x, int dy, const Framebuffer &fb_orig,

OutBuffer out(buffer, offset - buffer);
WriteStringToOutBuffer(cursor_handling_start, &out);
WriteStringToOutBuffer("\033Pq", &out); // Start sixel data
sixel_output_t *sixel_out = nullptr;
sixel_output_new(&sixel_out, WriteToOutBuffer, &out, nullptr);

Expand All @@ -144,7 +143,6 @@ void SixelCanvas::Send(int x, int dy, const Framebuffer &fb_orig,
sixel_dither_destroy(sixel_dither);
sixel_output_destroy(sixel_out);

WriteStringToOutBuffer("\033\\", &out); // end sixel data
WriteStringToOutBuffer(cursor_handling_end, &out);
return out;
};
Expand Down
Loading