Compare commits
2 commits
23b461aa45
...
b67c738b05
Author | SHA1 | Date | |
---|---|---|---|
dece | b67c738b05 | ||
dece | b933165707 |
|
@ -1,6 +1,5 @@
|
||||||
TODO
|
TODO
|
||||||
----------------------------------------
|
----------------------------------------
|
||||||
mac bug: arrows in cli are off
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -21,6 +20,8 @@ use a pad for command-line
|
||||||
use a pad for status bar
|
use a pad for status bar
|
||||||
response code 11 (if still there)
|
response code 11 (if still there)
|
||||||
gopher?
|
gopher?
|
||||||
|
finger?
|
||||||
|
web????
|
||||||
opt. maintain history between sessions
|
opt. maintain history between sessions
|
||||||
history (forward) (useful?)
|
history (forward) (useful?)
|
||||||
search in page (ugh)
|
search in page (ugh)
|
||||||
|
|
|
@ -163,7 +163,7 @@ class Request:
|
||||||
except FileNotFoundError as exc:
|
except FileNotFoundError as exc:
|
||||||
sock.close()
|
sock.close()
|
||||||
self.state = Request.STATE_CONNECTION_FAILED
|
self.state = Request.STATE_CONNECTION_FAILED
|
||||||
self.error = "Could not load identity files."
|
self.error = "Could not load identity files ({exc})"
|
||||||
logging.error(f"Failed to load identity files {self.identity}")
|
logging.error(f"Failed to load identity files {self.identity}")
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import unittest
|
import unittest
|
||||||
|
|
||||||
from ..mime import MimeType, DEFAULT_CHARSET, DEFAULT_MIME_TYPE
|
from ..mime import MimeType
|
||||||
|
|
||||||
|
|
||||||
class TestMime(unittest.TestCase):
|
class TestMime(unittest.TestCase):
|
||||||
|
|
|
@ -11,7 +11,7 @@ This version fixes a few quirks of the standard module, namely:
|
||||||
|
|
||||||
- Discard multi-lines mode: only one line is supported.
|
- Discard multi-lines mode: only one line is supported.
|
||||||
- Moving in line more reasonably: no more going alone rightward.
|
- Moving in line more reasonably: no more going alone rightward.
|
||||||
- Handle Unicode
|
- Handle Unicode.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import curses
|
import curses
|
||||||
|
@ -31,7 +31,7 @@ class Textbox:
|
||||||
- Ctrl-L: Refresh screen.
|
- Ctrl-L: Refresh screen.
|
||||||
|
|
||||||
Move operations do nothing if the cursor is at an edge where the movement
|
Move operations do nothing if the cursor is at an edge where the movement
|
||||||
is not possible. The following synonyms are supported where possible:
|
is not possible. The following synonyms are supported where possible:
|
||||||
|
|
||||||
- KEY_LEFT: Ctrl-B
|
- KEY_LEFT: Ctrl-B
|
||||||
- KEY_RIGHT: Ctrl-F
|
- KEY_RIGHT: Ctrl-F
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[metadata]
|
[metadata]
|
||||||
name = bebop-browser
|
name = bebop-browser
|
||||||
version = 0.0.2
|
version = 0.0.3
|
||||||
description = Terminal browser for Gemini
|
description = Terminal browser for Gemini
|
||||||
long_description = file: README.md
|
long_description = file: README.md
|
||||||
license = GPLv3
|
license = GPLv3
|
||||||
|
|
Reference in a new issue