Skip to content

Do not draw unnecessary spaces #4

@phoe

Description

@phoe
CL-USER> (with-output-to-string (*standard-output*) 
           (draw-cons-tree:draw-tree '(1)))
"[o|/]
 |      
 1      
"

CL-USER> (substitute #\_ #\Space *)
"[o|/]
_|______
_1______
"

The trailing underscores above need not be drawn. (Probably same with the trailing newline.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions