Compare commits

..

No commits in common. "f4bc3f756857055a6adddfcb1b932c26b05cbd53" and "0f35971493c53704b8f5bf4728c2027720c8c3d3" have entirely different histories.

4 changed files with 5 additions and 19 deletions

View file

@ -34,9 +34,6 @@ table of contents
better default editor than vim
search engine
auto-open some media types
don't store explicit port 1965 in URL prefixes (e.g. for identities)
fix shifted line detection when text goes belong the horizontal limit
auto-rewrite missing "/" in empty URL paths

View file

@ -54,8 +54,9 @@ have it installed, check out this Gemini link `gemini://dece.space/dev/faq/using
[py-faq-http]: https://portal.mozz.us/gemini/dece.space/dev/faq/using-python-programs.gmi
The recommended installation method is using Pipx, but using Pip is fine, either
user or system-wide installation.
The easier installation method is using Pip, either user or system-wide
installation. I recommend user installation, but a system-wide installation
should not cause issues as there are no dependencies.
```bash
# User installation:
@ -123,16 +124,6 @@ Here is a list of plugins I did, available on PyPI:
[plugin-finger]: plugins/finger/README.md
[plugin-gopher]: plugins/gopher/README.md
Plugins have to be installed in the same Python environment as Bebop. If you
installed Bebop using Pipx, this is done using the `inject` command.
```bash
# Installating the Gopher plugin in the user environment:
pip3 install --user bebop-browser-gopher
# Installating the Gopher plugin for a Pipx installation:
pipx inject bebop-browser bebop-browser-gopher
```
Usage

View file

@ -204,7 +204,7 @@ class Browser:
try:
self.handle_inputs()
except KeyboardInterrupt:
self.set_status("Operation cancelled (to quit, type :q).")
self.set_status("Cancelled.")
if self.config["persistent_history"]:
self.history.save()
@ -267,8 +267,6 @@ class Browser:
self.move_to_search_result(Browser.SEARCH_NEXT)
elif char == ord("N"):
self.move_to_search_result(Browser.SEARCH_PREVIOUS)
elif char == ord("i"):
self.show_page_info()
elif curses.ascii.isdigit(char):
self.handle_digit_input(char)
elif char == curses.KEY_MOUSE:

View file

@ -104,7 +104,7 @@ def get_help(config, plugins):
config_list = "\n".join(
(
f"* {key} = {config[key]} (default {repr(DEFAULT_CONFIG[key])})"
if key in DEFAULT_CONFIG and config[key] != DEFAULT_CONFIG[key]
if config[key] != DEFAULT_CONFIG[key]
else f"* {key} = {config[key]}"
)
for key in sorted(config)