]> git.cworth.org Git - sup/commit
protect getch from ctrl-c's outside of the main event loop
authorWilliam Morgan <wmorgan-sup@masanjin.net>
Wed, 9 Sep 2009 14:03:08 +0000 (10:03 -0400)
committerWilliam Morgan <wmorgan-sup@masanjin.net>
Wed, 9 Sep 2009 14:03:08 +0000 (10:03 -0400)
commit8039b8594c5246338406b284ab9b2c4974b77937
treee9a1a44e27ff8bf8479c21586417e9f4053cb460
parent8903cdedc810b5570b5d2cfb35d60683782aa84a
protect getch from ctrl-c's outside of the main event loop

The main event loop was interpreting ctrl-c's correctly, but other getch
callers (like asking for input) were not. This change will treat ctrl-c as
ctrl-g in those cases.
bin/sup
lib/sup/buffer.rb