@@ -664,26 +664,27 @@ def showScrollingHelpScreen(self):
664664 helpMov .gotoFrame (1 )
665665 self .stdscr .clear ()
666666 self .clearStatusLine ()
667- self .promptPrint ("* Press the any key (or click) to continue *" )
667+ # self.promptPrint("* Press the any key (or click) to continue *")
668668 clickColor = self .appState .theme ['clickColor' ]
669669 promptColor = self .appState .theme ['promptColor' ]
670- self .addstr (self .statusBarLineNum - 1 , 0 , "You can use ALT or META instead of ESC. Everything this color is clickable" , curses .color_pair (promptColor ))
671- self .addstr (self .statusBarLineNum - 1 , 51 , "this color" , curses .color_pair (clickColor ) | curses .A_BOLD )
672- self .addstr (self .statusBarLineNum - 1 , 65 , "clickable" , curses .color_pair (clickColor ) | curses .A_BOLD )
670+ #self.addstr(self.statusBarLineNum - 1, 0, "You can use ALT or META instead of ESC. Everything this color is clickable", curses.color_pair(promptColor))
671+ #self.addstr(self.statusBarLineNum - 1, 51, "this color", curses.color_pair(clickColor) | curses.A_BOLD)
672+ #self.addstr(self.statusBarLineNum - 1, 65, "clickable", curses.color_pair(clickColor) | curses.A_BOLD)
673+
674+ helpMov .search_and_replace (self , '{ver}' , f"{ self .appState .durVer } " )
675+ helpMov .search_and_replace (self , '{colormode}' , f"{ self .appState .colorMode } " )
676+ helpMov .search_and_replace (self , "{charmode}" , f"{ self .appState .charEncoding } " )
677+
673678 while self .playingHelpScreen :
674679 self .move (self .xy [0 ], self .xy [1 ])
675680 self .refresh ()
681+ self .addstr (self .statusBarLineNum + 1 , 0 , "Up/Down, Pgup/Pgdown, Home/End or Mouse Wheel to scroll. Enter or Esc to exit." , curses .color_pair (promptColor ))
682+ #self.addstr(self.statusBarLineNum - 1, 51, "this color", curses.color_pair(clickColor) | curses.A_BOLD)
676683 mouseState = False
677- # Instead, search and replace the darwing for durVer, colorMode etc
678- #if page == 2:
679- # self.addstr(12, 51, f"{self.appState.durVer}", curses.color_pair(promptColor))
680- # self.addstr(13, 54, f"{self.appState.colorMode}", curses.color_pair(promptColor))
681- # self.addstr(14, 62, f"{self.appState.charEncoding}", curses.color_pair(promptColor))
682684 c = self .stdscr .getch ()
683685 if c == curses .KEY_MOUSE : # get some mouse input if available
684686 try :
685687 _ , mouseX , mouseY , _ , mouseState = curses .getmouse ()
686- #pdb.set_trace()
687688 except :
688689 pass
689690
0 commit comments