From 171fd8b18b88dc6298d3fac57c49ad24c890b4ca Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Wed, 17 Apr 2019 03:58:29 +0000 Subject: [PATCH] when wrapping quoted text, leave room for ' > ' --- exec/fseditor.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exec/fseditor.js b/exec/fseditor.js index 02509c5c78..1948d7169c 100644 --- a/exec/fseditor.js +++ b/exec/fseditor.js @@ -1909,8 +1909,8 @@ var f=new File(input_filename); if(f.open("r",false)) { ypos=0; if(use_quotes) { - var quote_width = console.screen_columns - 4; - quote_line=make_lines(quote_msg(word_wrap(f.read(), quote_width), quote_width),''); + var quote_width = console.screen_columns - 1; + quote_line=make_lines(quote_msg(word_wrap(f.read(), quote_width - 3), quote_width),''); } else line=make_lines(word_wrap(f.read()),''); f.close(); -- GitLab