View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000265 | LDMud | Efuns | public | 2004-11-26 23:17 | 2004-11-26 23:17 |
Reporter | Assigned To | ||||
Priority | normal | Severity | feature | Reproducibility | N/A |
Status | new | Resolution | open | ||
Summary | 0000265: Formatting in terminal_colour() | ||||
Description | Short: Left, Center, and Flush formatting for terminal_colour() From: Slava Ignatjev Date: 2001-10-15 Type: Feature State: New See also: f-011016-0 Okay, I suggest to change format of the fun a bit, to the following: varargs string terminal_colour( string str , null|mapping|closure map , int wrap | string wrap ^^^^^^^^^^^^^^^^^^^^^^^^^ , int indent ) where "int wrap" remains almost the same, except for it begins to serve right justification. "string wrap" will serve following: "n-" <- left justification "n|" <- centering "n$" <- flushing where 'n' is a number of columns I think, this is not too hard to implement. And is not against current ideology of the linewrapping in the function. | ||||
Tags | No tags attached. | ||||
External Data (URL) | |||||