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

Conditionalize border drawing (gdiff, a994690)

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

Only attempt drawing if the border's rectangle intersects with the visible area.

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

← Move WO_BORDER_WIDTH macro into global header (gdiff, 8cfdf80)
Draw borders in gutter views (gdiff, eff8c91) →

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).