m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-16 07:13:48 -05:00

Fix Linux build (#756)

This commit is contained in:
Junegunn Choi
2016-12-05 02:27:38 +09:00
parent a442fe0fd0
commit 16b5902aa2

View File

@@ -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 {