aboutsummaryrefslogtreecommitdiff
path: root/src/pointer.zig
diff options
context:
space:
mode:
authorJulien Dessaux2022-12-04 04:06:47 +0100
committerJulien Dessaux2022-12-04 04:06:47 +0100
commitb373cbffa11f5f1f86f15f0be29b21993b42a5d7 (patch)
treebab595392417cab23148ba46994d3607ca54cebc /src/pointer.zig
parentBegan writing a debugging tui (diff)
downloadzigfunge98-b373cbffa11f5f1f86f15f0be29b21993b42a5d7.tar.gz
zigfunge98-b373cbffa11f5f1f86f15f0be29b21993b42a5d7.tar.bz2
zigfunge98-b373cbffa11f5f1f86f15f0be29b21993b42a5d7.zip
Improved tui debugger
Diffstat (limited to '')
-rw-r--r--src/pointer.zig3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/pointer.zig b/src/pointer.zig
index ce188f8..653f890 100644
--- a/src/pointer.zig
+++ b/src/pointer.zig
@@ -352,9 +352,6 @@ pub const Pointer = struct {
self.step();
return result;
}
- pub inline fn getInfo(self: *Pointer) PointerInfo {
- return .{ .x = self.x, .y = self.y, .dx = self.dx, .dy = self.dy };
- }
pub fn init(allocator: std.mem.Allocator, f: *field.Field, timestamp: ?i64, argv: []const []const u8, env: []const [*:0]const u8) !*Pointer {
var p = try allocator.create(Pointer);
errdefer allocator.destroy(p);