Skip to content

Commit 7a4a441

Browse files
committed
FIX: improved resolving console width for help output trunctation
1 parent a96c892 commit 7a4a441

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/mezz/mezz-help.reb

+2-1
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,8 @@ import module [
181181
string [string!] "Returned series will be past the insertion"
182182
/local value spec args refs rets type ret desc arg def des ref str cols
183183
][
184-
try/except [ cols: query/mode system/ports/input 'buffer-cols ][ cols: 120 ]
184+
cols: 120
185+
try/except [ cols: query/mode system/ports/input 'buffer-cols ][ print system/state/last-error ]
185186
max-desc-width: cols - 35
186187
buffer: any [string clear ""]
187188
catch [

0 commit comments

Comments
 (0)