Merge branch '1876_ctrl_c_fix'

* 1876_ctrl_c_fix:
  Ticket #1876: Fix of Ctrl-c behaviour for S-Lang.
This commit is contained in:
Andrew Borodin 2009-12-16 17:23:48 +03:00
commit 29ecc9825f

View File

@ -264,7 +264,8 @@ tty_init (gboolean slow, gboolean ugly_lines)
tcgetattr (fileno (stdin), &boot_mode);
/* 255 = ignore abort char; XCTRL('g') for abort char = ^g */
SLang_init_tty (XCTRL ('c'), 1, 0);
/* SLang_init_tty (XCTRL ('c'), 1, 0); */
SLang_init_tty (255, 1, 0);
if (ugly_lines)
SLtt_Has_Alt_Charset = 0;