use Pos instead of Vec2<Int>
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package kernel.ui;
|
||||
|
||||
import util.Pos;
|
||||
using tink.CoreApi;
|
||||
|
||||
import util.Vec.Vec2;
|
||||
@@ -85,7 +86,7 @@ class VirtualTermWriter implements TermWriteable extends TermBuffer {
|
||||
super.scroll(y);
|
||||
}
|
||||
|
||||
public override function getCursorPos():Vec2<Int> {
|
||||
public override function getCursorPos():Pos {
|
||||
if (isEnabled()) {
|
||||
return target.getCursorPos();
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user