From 93b2f062047ee3922d223201bb4ea7784ccdda7b Mon Sep 17 00:00:00 2001 From: Akira Date: Sun, 29 Dec 2013 00:57:47 +0900 Subject: [PATCH] Fix: In some situations LEFT/RIGHT arrow keys do not work. (patch by Takeutch Kemeco.) Add CONTRIBUTORS file. --- CONTRIBUTORS | 16 ++++++++++++++++ README | 5 +++++ help.txt | 5 +++++ src/main.c | 8 +++++++- 4 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 CONTRIBUTORS diff --git a/CONTRIBUTORS b/CONTRIBUTORS new file mode 100644 index 0000000..4fabb35 --- /dev/null +++ b/CONTRIBUTORS @@ -0,0 +1,16 @@ +ntchは以下の方々に協力していただきました。 +また、2ch掲示板にて動作検証、不具合などを匿名で報告して頂いた方 +にも同様に感謝いたします。 +(敬称略、昇順) + +hlhex(SORCE FORGE.JP ID) + add keyPad function. + c532f0c85d0c3e65c8d6e68e78f84689c33b92ac + 10fd92c24e61aac245a3c5f2b1527b957bd9264c + +takeutch-kemeco(GitHub ID) + + fix arrow keys bugs. + #This commit. + build settings + 6ccf8679ab16a790d4e5e902fec4ae8e2e22f50b diff --git a/README b/README index 1b04687..796bf66 100644 --- a/README +++ b/README @@ -16,6 +16,11 @@ You should have received a copy of the GNU General Public License along with ntch. If not, see . + Contributors + + hlhex(SORCE FORGE.JP ID) + takeutch-kemeco(GitHub ID) + Copyright 2013 Akira Ohta (akohta001@gmail.com) Linux用 2ch専用ブラウザー diff --git a/help.txt b/help.txt index c374581..50b3b3d 100644 --- a/help.txt +++ b/help.txt @@ -16,6 +16,11 @@ You should have received a copy of the GNU General Public License along with ntch. If not, see . + Contributors + + hlhex(SORCE FORGE.JP ID) + takeutch-kemeco(GitHub ID) + Copyright 2013 Akira Ohta (akohta001@gmail.com) Linux用 2ch専用ブラウザー diff --git a/src/main.c b/src/main.c index f402870..fdeb504 100644 --- a/src/main.c +++ b/src/main.c @@ -448,13 +448,20 @@ static BOOL DoLoop(WINDOW *scrp, nt_usr_db_handle db_handle, } ch = NT_KEY_NONE; status_msg = NT_INFO_REFRESH_BOARD_SUCCESS; + state = DISP_STATE_THREADTITLE; + disp_state = state; continue; }else{ status_msg = NT_ERR_MSG_COUDLNOT_READ_BOARD; } state = DISP_STATE_THREADTITLE; }else if(DISP_STATE_RESLIST == state){ + disp_state = state; if(!nt_read_thread(h_sel_items)){ + if(!rwinp->data){ + state = DISP_STATE_THREADTITLE; + disp_state = state; + } wclear(scrp); ch = NT_KEY_NONE; continue; @@ -466,7 +473,6 @@ static BOOL DoLoop(WINDOW *scrp, nt_usr_db_handle db_handle, free_reslist_ctx(rwinp->data); rwinp->data = NULL; } - disp_state = state; state = DISP_STATE_THREADTITLE; ch = NT_KEY_NONE; continue; -- 2.11.0