Пример #1
0
func init() {
	C.rl_catch_signals = 0
	C.rl_catch_sigwinch = 0
	C.register_readline()

	go handleSignals()
}
Пример #2
0
func init() {
	go handleSignals()

	C.register_readline()
}