Skip to content
Snippets Groups Projects
Unverified Commit 16b5902a authored by Junegunn Choi's avatar Junegunn Choi
Browse files

Fix Linux build (#756)

parent a442fe0f
No related branches found
No related tags found
No related merge requests found
......@@ -17,6 +17,10 @@ FILE* c_tty() {
SCREEN* c_newterm(FILE* tty) {
return newterm(NULL, stderr, tty);
}
int c_getcurx(WINDOW* win) {
return getcurx(win);
}
*/
import "C"
......@@ -274,7 +278,7 @@ func (w *Window) Erase() {
}
func (w *Window) X() int {
return int(C.getcurx(w.win()))
return int(C.c_getcurx(w.win()))
}
func DoesAutoWrap() bool {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment