watercooler-labs / toggl-cli

🕐 Command Line App for Toggl Track
MIT License
31 stars 7 forks source link

[bug] possible to add linebreaks to description #71

Closed lhoffjann closed 8 months ago

lhoffjann commented 8 months ago

toggl start accepts linebreaks which have no affect on the UI but messes with e.g. toggl list

Screenshot from 2023-12-19 10-10-36 Screenshot from 2023-12-19 10-10-02

shantanuraj commented 8 months ago

Hey, so yeah technically Toggl allows for newlines in time-entry descriptions at a storage level. But of the official clients only the mobile app supported it. hmm I wonder if we can trim the description as a stop-gap. A better fix would be to override display to indicate overflow with ellipsis.