Fossil

View Ticket
Login
Ticket Hash: 202edc2c1c71bcce5df10e9f34031edebd7b29da
Title: Make `th1-setup` a textarea in settings UI
Status: Closed Type: Feature_Request
Severity: Minor Priority:
Subsystem: Resolution: Fixed
Last Modified: 2014-02-17 12:41:48
12.12 years ago
Created: 2014-02-16 23:13:33
12.12 years ago
Version Found In: 1.28
User Comments:
nobody added on 2014-02-16 23:13:33:

I'm utilizing th1-setup for preparing some userland TH1 functions, e.g. th1x.tcl

Now it's usually multi-line when injected via fossil setting th1-setup "$(cat th1)". In the fossil web UI it's displayed as <input type=text> however, where most browsers will turn linebreaks into spaces. Subsequently editing any setting via fossil ui will break th1-setup.

Hence I'd prefer if it became a <textarea> input field as well (like binary-glob etc.), so it retains formatting and doesn't break the TH1 code due to comments or lack of semicolons.


jan.nijtmans added on 2014-02-17 12:41:48:

Fixed in [28429acb2b]. Thanks!