mirror of https://codeberg.org/cage/tinmop/
- [gemini] allowed going back in history also when exploring a local filesystem.
This commit is contained in:
parent
87377914a3
commit
9dd77c549d
|
@ -656,7 +656,7 @@
|
|||
(let ((found (find-db-stream-url last)))
|
||||
(if found
|
||||
(db-entry-to-foreground last)
|
||||
(request last))))) ; this should never happens
|
||||
(load-gemini-url last))))) ; this happens if navigating in a local tree
|
||||
|
||||
(defun view-source (window)
|
||||
(when-let* ((metadata (message-window:metadata window))
|
||||
|
|
|
@ -1043,6 +1043,7 @@
|
|||
(text (gemini-parser:sexp->text parsed
|
||||
gemini-client:*gemini-page-theme*)))
|
||||
(gemini-viewer:maybe-initialize-metadata window)
|
||||
(gemini-viewer:add-url-to-history window url)
|
||||
(refresh-gemini-message-window links raw-text text nil)
|
||||
(windows:draw window)))
|
||||
(t
|
||||
|
@ -1057,6 +1058,7 @@
|
|||
(text (gemini-parser:sexp->text parsed
|
||||
gemini-client:*gemini-page-theme*)))
|
||||
(gemini-viewer:maybe-initialize-metadata window)
|
||||
(gemini-viewer:add-url-to-history window url)
|
||||
(refresh-gemini-message-window links file-string text nil)
|
||||
(windows:draw window))))))))
|
||||
|
||||
|
|
Loading…
Reference in New Issue