dwmblocks icon indicating copy to clipboard operation
dwmblocks copied to clipboard

refactor: remove unused int, and optimize getcmd func

Open nnyyxxxx opened this issue 4 months ago • 0 comments

  • Remove temporary buffer in getcmd function
  • Directly write to output buffer for improved efficiency
  • Simplify logic for handling newlines and delimiters
  • remove unused int

tested and works perfectly

nnyyxxxx avatar Sep 30 '24 14:09 nnyyxxxx