From 03c894e683b02fd65fcc76d713f28c8ddb2be05e Mon Sep 17 00:00:00 2001 From: Oldes Huhuman Date: Mon, 9 Sep 2024 11:34:30 +0200 Subject: [PATCH] CHANGE: console width requests no longer throw errors, allowing for code simplification --- make/rebol3.nest | 2 +- src/mezz/mezz-help.reb | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/make/rebol3.nest b/make/rebol3.nest index 11df70a174..5a1ace2d2c 100644 --- a/make/rebol3.nest +++ b/make/rebol3.nest @@ -408,7 +408,7 @@ config: [ ;- this is list of configuration (optional) defines DEBUG_HASH_COLLISIONS ;*** Unfinished features **************************************************/ - ;INCLUDE_TASK ;- tasks are not implemented yet, so include it only on demand + INCLUDE_TASK ;- tasks are not implemented yet, so include it only on demand ;*** Other (not recommanded) options **************************************/ ;HAS_WIDGET_GOB ;- used in t-gob.c diff --git a/src/mezz/mezz-help.reb b/src/mezz/mezz-help.reb index a8a7fbd154..5e226bf15e 100644 --- a/src/mezz/mezz-help.reb +++ b/src/mezz/mezz-help.reb @@ -199,9 +199,7 @@ import (module [ string [string!] "Returned series will be past the insertion" /local value spec args refs rets type ret desc arg def des ref str cols tmp ][ - ;@@ quering buffer width in CI under Windows now throws error: `Access error: protocol error: 6` - ;@@ it should return `none` like under Posix systems! - cols: any [ attempt [ query system/ports/input 'buffer-cols ] 120] + cols: query system/ports/output 'window-cols max-desc-width: cols - 35 buffer: any [string clear ""] catch [