Kasper

Results 261 comments of Kasper

Dumb question: Why is there an invalidation check at all instead of just initializing the bound variables with the final value?

There's two parts to it, `createFormat()` which parses the `format` into `FormatToken[]`, and `parse()` which parses dates using the `FormatToken[]`s. I'm not sure how variable-length format tokens should be handled....

About the parsing of `yymd`, I'd be ok with calling it undefined behavior and parsing it however is easiest (which is probably `23111` -> `23-11-1`)

Would be nice to support the `TabWidth` `defaults` entry on macOS, so it's possible to have an OS-wide tab width setting (`defaults write -g "TabWidth" 4`)

Seems fair to have the order customizable. ```json "status_bar": { "visible": true, "elements": [ "assistant", "feedback", "etc" ] } ```

It might be something to consider so that it won't be necessary to do a settings migration (but that's not my decision ofc)

Note about window customization, there's currently a guide for custom titlebars which implements window controls in HTML/CSS. For macOS this is flawed/bad behavior as users lose standard features. imo users...

@castroCrea No, I don't think so There's [qazbnm456's fork](https://github.com/qazbnm456/electron-panel-window), which I think also has this issue. Might be worth giving it a try because it's a while since I tried...

It used to work, I think it broke in macOS 13 Ventura