aboutsummaryrefslogtreecommitdiff
path: root/render.f90
diff options
context:
space:
mode:
authorJeffrey Armstrong <jeff@approximatrix.com>2020-05-21 12:25:14 -0400
committerJeffrey Armstrong <jeff@approximatrix.com>2020-05-21 12:25:14 -0400
commitf32d7d30c9cd38544349697e475355e8a2e2a478 (patch)
tree20538809141ec6dfb6954ae7d892680d13c138fe /render.f90
parentf46daf7de9884e32c8141ef761940f8f0a6e0249 (diff)
downloadLR-87-f32d7d30c9cd38544349697e475355e8a2e2a478.zip
LR-87-f32d7d30c9cd38544349697e475355e8a2e2a478.tar.gz
Binary files are now actually handled in the dumb terminal version.
Diffstat (limited to 'render.f90')
-rw-r--r--render.f9011
1 files changed, 11 insertions, 0 deletions
diff --git a/render.f90 b/render.f90
index c8f1333..97458e0 100644
--- a/render.f90
+++ b/render.f90
@@ -45,6 +45,7 @@ implicit none
procedure::render_proportional
procedure::type_supported
procedure::status_ready
+ procedure::report_unsupported_protocol
procedure(initialize), deferred::initialize
procedure(prepare_for_layout), deferred::prepare_for_layout
@@ -239,6 +240,16 @@ contains
end subroutine status_ready
+ subroutine report_unsupported_protocol(self, url)
+ implicit none
+
+ class(renderer)::self
+ character(*), intent(in)::url
+
+ call self%draw_error("Only gemini:// URLs supported ("//url//")")
+
+ end subroutine report_unsupported_protocol
+
function width_of_line(r, text, startpos, endpos, heading_level, list_item)
implicit none