Home > PHP > Function > Ncurses > ncurses_border()

ncurses_border()

ncurses_border - Draw a border around the screen using attributed characters

Syntax

int ncurses_border (int $left, int $right, int $top, int $bottom, int $tl_corner, int $tr_corner, int $bl_corner, int $br_corner)

Arguments

  • left
  • right
  • top
  • bottom
  • tl_corner - Top left corner
  • tr_corner - Top right corner
  • bl_corner - Bottom left corner
  • br_corner - Bottom right corner

Description

Draws the specified lines and corners around the main window.

Version

PHP 4.2.0, 5 < 5.3.0, PECL ncurses >= 1.0.0

Return value