Compare commits
5 commits
0f35971493
...
f4bc3f7568
Author | SHA1 | Date | |
---|---|---|---|
dece | f4bc3f7568 | ||
dece | b1c3f6c518 | ||
dece | 04e7a02407 | ||
dece | 325c285675 | ||
dece | 41aff7acba |
|
@ -34,6 +34,9 @@ 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
|
||||
|
||||
|
||||
|
||||
|
|
15
README.md
15
README.md
|
@ -54,9 +54,8 @@ 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 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.
|
||||
The recommended installation method is using Pipx, but using Pip is fine, either
|
||||
user or system-wide installation.
|
||||
|
||||
```bash
|
||||
# User installation:
|
||||
|
@ -124,6 +123,16 @@ 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
|
||||
|
|
|
@ -204,7 +204,7 @@ class Browser:
|
|||
try:
|
||||
self.handle_inputs()
|
||||
except KeyboardInterrupt:
|
||||
self.set_status("Cancelled.")
|
||||
self.set_status("Operation cancelled (to quit, type :q).")
|
||||
|
||||
if self.config["persistent_history"]:
|
||||
self.history.save()
|
||||
|
@ -267,6 +267,8 @@ 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:
|
||||
|
|
|
@ -104,7 +104,7 @@ def get_help(config, plugins):
|
|||
config_list = "\n".join(
|
||||
(
|
||||
f"* {key} = {config[key]} (default {repr(DEFAULT_CONFIG[key])})"
|
||||
if config[key] != DEFAULT_CONFIG[key]
|
||||
if key in DEFAULT_CONFIG and config[key] != DEFAULT_CONFIG[key]
|
||||
else f"* {key} = {config[key]}"
|
||||
)
|
||||
for key in sorted(config)
|
||||
|
|
Reference in a new issue