core: remove completed todos

This commit is contained in:
Mitchell Hashimoto
2024-03-10 21:05:57 -07:00
parent edc0864f32
commit 6de661b9d1

View File

@ -156,7 +156,6 @@ const Mouse = struct {
/// The point at which the left mouse click happened. This is in screen
/// coordinates so that scrolling preserves the location.
//TODO(paged-terminal)
left_click_pin: ?*terminal.Pin = null,
left_click_screen: terminal.ScreenType = .primary,
@ -1054,9 +1053,6 @@ fn setSelection(self: *Surface, sel_: ?terminal.Selection) !void {
const prev_ = self.io.terminal.screen.selection;
try self.io.terminal.screen.select(sel_);
// TODO(paged-terminal)
if (true) return;
// Determine the clipboard we want to copy selection to, if it is enabled.
const clipboard: apprt.Clipboard = switch (self.config.copy_on_select) {
.false => return,
@ -2625,7 +2621,6 @@ pub fn cursorPosCallback(
}
// Convert to points
// TODO(paged-terminal)
const screen = &self.renderer_state.terminal.screen;
const pin = screen.pages.pin(.{
.viewport = .{