aboutsummaryrefslogtreecommitdiff
path: root/main.F90
diff options
context:
space:
mode:
authorJeffrey Armstrong <jeff@approximatrix.com>2020-06-08 14:36:34 -0400
committerJeffrey Armstrong <jeff@approximatrix.com>2020-06-08 14:36:34 -0400
commit52915ba4bcb8f82a7d8249df07130e4fc0e5bd32 (patch)
tree25051156bc8fb7a4c45566a6b62f73e0da1a6eb0 /main.F90
parent48512f5d2e180d2086162cdf06c96098e6de96d7 (diff)
downloadLR-87-52915ba4bcb8f82a7d8249df07130e4fc0e5bd32.tar.gz
LR-87-52915ba4bcb8f82a7d8249df07130e4fc0e5bd32.zip
Line wrapping now computed only once for proportional text unless requested by the renderer, providing better performance.
Diffstat (limited to 'main.F90')
-rw-r--r--main.F9010
1 files changed, 9 insertions, 1 deletions
diff --git a/main.F90 b/main.F90
index 9d8e7a4..126796b 100644
--- a/main.F90
+++ b/main.F90
@@ -92,7 +92,7 @@ implicit none
else
- initial_site = "gemini://lilarm/"
+ initial_site = "gemini://gemini.circumlunar.space/"
end if
@@ -210,6 +210,14 @@ implicit none
call r%status_ready()
end if
+ case (render_action_rewrap)
+ if(associated(first_line)) then
+ call r%report_status("Performing Layout")
+ call clear_line_breaks(first_line)
+ call layout_lines(first_line, r)
+ call r%status_ready()
+ end if
+
case (render_action_goto)
if(index(input, "://") > 0) then
desired_url = input