From: WATANABE Hirofumi Date: 1998-03-26T10:57:26+09:00 Subject: [ruby-dev:1933] Re: experimantal release 1.1b9_04 わたなべです. Tadayoshi Funaba writes: :>refresh が必要ですね. : :これで、 view.rb はうまくゆきました。うーん、hello.rb はやっぱりよくわ :からない :-) hello.rb も refresh が必要でした. あと, 仕様変更があったので () でくくらなきゃいけないとこがあります. #でも Linux libc 5.2.18 だと終了時 SEGV になるなあ. 調べて #みよっと. -- わたなべひろふみ --- ext/curses/hello.rb.orig Fri Jan 16 13:14:49 1998 +++ ext/curses/hello.rb Thu Mar 26 10:49:02 1998 @@ -12,2 +12,3 @@ win.addstr(message) + win.refresh win.getch @@ -20,4 +21,5 @@ # show_message("Hit any key") - setpos (lines - 5) / 2, (cols - 10) / 2 + setpos((lines - 5) / 2, (cols - 10) / 2) addstr("Hit any key") + refresh getch