Skip to content
Myr

Fix Linux build (#756)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Junegunn Choi · committed by Junegunn Choi · parent a442fe0 · Browse files · 1 file+5 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+5 added−1 removed

  • other:+5 added−1 removed

1 file+5 added−1 removed

modified:src/tui/ncurses.go+5 added-1 removed
15 unmodified lines
1617SCREEN* c_newterm(FILE* tty) {18 return newterm(NULL, stderr, tty);19}2021int c_getcurx(WINDOW* win) {22 return getcurx(win);23}24*/25import "C"2627import (
249 unmodified lines
277 C.werase(w.win())278}279280func (w *Window) X() int {277 return int(C.getcurx(w.win()))281 return int(C.c_getcurx(w.win()))282}283284func DoesAutoWrap() bool {285 return true
205 unmodified lines