• Wincent
    Menu
  • Blog
  • Wiki
  • Snippets
  • Tags
  • Search

Avoid unnecessary re-setting of color (gdiff, 924a2d6)

Created 10/1/2007, updated 3/5/2024
  • snippets

If left border was already drawn, no need to re-set the border color again before drawing the right border.

Signed-off-by: Greg Hurrell <greg@hurrell.net>

← Teach glue view to draw borders (gdiff, 63cfac2)
Move WO_BORDER_WIDTH macro into global header (gdiff, 8cfdf80) →

All snippets

Site
  • About
  • Blog
  • Wiki
  • Snippets
  • Tags
  • Search
External
  • GitHub
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
Colophon

Made by Greg Hurrell with Rust (with help from Git and Neovim).