Skip to content

Commit

Permalink
Slightly less-stupid static windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
secretiverhyme committed Sep 24, 2011
1 parent edd012e commit 8448cb8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/window.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ Window method initialize {buf} {

Window method show {} {
ncurses.do {
set win [stdscr window 24 80 0 0]
set win [stdscr window {*}[stdscr getmaxyx] 0 0]
$win box
$win puts {1 1} "Something goes here"
$win puts {1 1} [$buffer getBuffer]
ncurses.getc
}
}

0 comments on commit 8448cb8

Please sign in to comment.