mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-09-27 20:59:03 +00:00
Fix Linux build (#756)
This commit is contained in:
parent
a442fe0fd0
commit
16b5902aa2
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user