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

Simplify custom table header cell calculations (REnamer, df8c2af)

Created 1/17/2008, updated 3/5/2024
  • snippets

Rather than creating an entirely new rectangle and specifying all the dimensions, just modify an existing one.

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

← Only draw border if visible in header cell (REnamer, 9e5b34a)
Teach HUD corner view to draw lower border (REnamer, 8a39fdf) →

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