• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

mfiler4のgitリポジトリ


Commit MetaInfo

Revisione8f1e1ffcf82a11855ae266feb0acc56b2fd3849 (tree)
Time2012-12-14 02:27:05
Authorab25cq <ab25cq@gmai...>
Commiterab25cq

Log Message

checked on cygwin

Change Summary

Incremental Difference

--- a/src/commands.c
+++ b/src/commands.c
@@ -819,12 +819,6 @@ BOOL cmd_isearch(sObject* nextin, sObject* nextout, sRunInfo* runinfo)
819819
820820 static void cmdline_start(char* cmdline, int cursor, BOOL quick, BOOL continue_)
821821 {
822- const int maxy = mgetmaxy();
823- mclear_online(maxy-1);
824- mclear_online(maxy-2);
825- refresh();
826- mmove_immediately(maxy-2, 0);
827-
828822 endwin();
829823 mreset_tty();
830824
--- a/src/common.h
+++ b/src/common.h
@@ -126,6 +126,7 @@ void ISearchClear();
126126 ///////////////////////////////////////////////////
127127 int xgetch(int* meta);
128128 void xinitscr();
129+void xendwin();
129130 char* choise(char* msg, char* str[], int len, int cancel);
130131 void merr_msg(char* msg, ...);
131132 void msg_nonstop(char* msg, ...);
--- a/src/gui.c
+++ b/src/gui.c
@@ -41,6 +41,13 @@ void xinitscr()
4141 }
4242 }
4343
44+void xendwin()
45+{
46+ keypad(stdscr, FALSE);
47+ noraw();
48+ endwin();
49+}
50+
4451 int xgetch(int* meta)
4552 {
4653 int key = getch();
--- a/src/main.c
+++ b/src/main.c
@@ -951,7 +951,7 @@ int main(int argc, char* argv[])
951951 srandom(1000);
952952
953953 /// 端末の設定を保存 ///
954- //msave_ttysettings();
954+ msave_ttysettings();
955955
956956 /// 端末を初期化 ///
957957 mreset_tty();