[Gambas-user] Please add two properties to gb.form.terminal

Benoît Minisini g4mba5 at gmail.com
Sun May 24 19:08:24 CEST 2020


Le 24/05/2020 à 18:34, Peter Bauer a écrit :
> Hello,
> Is it possible to please merge this to gambas upstream manually ?
> https://gitlab.com/gambas/gambas/-/merge_requests/139/diffs?commit_id=5f08dd5912570977f12c3a172a7caa49005214f7
> 
> I would like to publish an updated version of the gbterminal App with
> a colortable editor/configuration tool for all 256 terminal colors. For 
> this to work i need these 2 properties. The colotable editor already 
> works fine in my local Gambas dev environment.
> https://www.bitkistl.com/2020/03/gambas3-color-editor-for-gbterminal.html
> 
> Thank You,
> Peter
> 

Not as is. You modify the default color table shared by all terminal 
view. I'd like to have an optional specific color table for each 
terminal view.

Moreover, you must not trust the array provided by the user, you must 
check it before accepting it as a color table. And of course you must 
not return the internal color table array to the user, it may destroy 
it. You must return a copy or use the immutable array feature.

Regards,

-- 
Benoît Minisini


More information about the User mailing list