summaryrefslogtreecommitdiffstats
path: root/src/curses
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2015-01-08 11:04:25 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2015-01-08 11:04:25 +0900
commit3ed86445e1906eb47679bd2c8a5ee1a01632c883 (patch)
treea296dd202e50f6468025689e0429e65c807bd04d /src/curses
parent23f27f3ce539e324b5c2c4919a059e0845edcf12 (diff)
Remove call to ncurses set_tabsize()
Not available on old verions of ncurses
Diffstat (limited to 'src/curses')
-rw-r--r--src/curses/curses.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/curses/curses.go b/src/curses/curses.go
index e4a65756..736ccf6b 100644
--- a/src/curses/curses.go
+++ b/src/curses/curses.go
@@ -178,8 +178,7 @@ func Init(color bool, color256 bool, black bool, mouse bool) {
}
C.cbreak()
C.noecho()
- C.raw() // stty dsusp undef
- C.set_tabsize(4) // FIXME
+ C.raw() // stty dsusp undef
intChan := make(chan os.Signal, 1)
signal.Notify(intChan, os.Interrupt, os.Kill)