algonds icon indicating copy to clipboard operation
algonds copied to clipboard

Disable unicode

Open MaciejWas opened this issue 3 years ago • 2 comments

Oryginally I intended to have option in the application to disable special Unicode characters but in the end I didn't implement this feature. If anybody wants this feature please feel free to do it and publish PR :)

MaciejWas avatar Sep 07 '22 06:09 MaciejWas

hi @MaciejWas ,I would like to help here, but as i am a beginner myself could you guide me what is to be done ?

ryuusama09 avatar Sep 07 '22 09:09 ryuusama09

Hi, thank you for yout interest! When arguments to the application are passed (see arguments.rs) there is a disable Unicode option. Value from this field is passed to Settings object in the settings.rs and the settings are held in the model. Then you need to find every emoji/symbol and hide it depending on the settings. There are some of those in the common.rs file

Edit: To achieve this, for example you could move into_inner from TestCaseStatus to View which has access to model.settings

MaciejWas avatar Sep 07 '22 10:09 MaciejWas