Compare commits

...

2 Commits

Author SHA1 Message Date
pdxlocations
b43e3f4868 Fix ctrl / on mac terminal 2026-03-18 22:36:23 -07:00
pdxlocations
2e8e21f5ba Merge pull request #255 from pdxlocations:info-window
scroll nodes in info window
2026-03-18 22:33:38 -07:00
3 changed files with 5 additions and 3 deletions

View File

@@ -77,7 +77,7 @@ help.node_info, "F5 = Full node info", ""
help.archive_chat, "Ctrl+D = Archive chat / remove node", ""
help.favorite, "Ctrl+F = Favorite", ""
help.ignore, "Ctrl+G = Ignore", ""
help.search, "Ctrl+/ = Search", ""
help.search, "Ctrl+/ or / = Search", ""
help.help, "Ctrl+K = Help", ""
help.no_help, "No help available.", ""
confirm.remove_from_nodedb, "Remove {name} from nodedb?", ""

View File

@@ -77,7 +77,7 @@ help.node_info, "F5 = Полная информация об узле", ""
help.archive_chat, "Ctrl+D = Архив чата / удалить узел", ""
help.favorite, "Ctrl+F = Избранное", ""
help.ignore, "Ctrl+G = Игнорировать", ""
help.search, "Ctrl+/ = Поиск", ""
help.search, "Ctrl+/ или / = Поиск", ""
help.help, "Ctrl+K = Справка", ""
help.no_help, "Нет справки.", ""
confirm.remove_from_nodedb, "Удалить {name} из базы узлов?", ""

View File

@@ -323,7 +323,9 @@ def main_ui(stdscr: curses.window) -> None:
elif char == chr(4): # Ctrl + D to delete current channel or node
handle_ctrl_d()
elif char == chr(31): # Ctrl + / to search
elif char == chr(31) or (
char == "/" and not input_text and ui_state.current_window in (0, 2)
): # Ctrl + / or / to search in channel/node lists
handle_ctrl_fslash()
elif char == chr(11): # Ctrl + K for Help