add -W to specify window size.
various other little fixes.
This commit is contained in:
parent
3d72637f9b
commit
be36ff6885
36 changed files with 332 additions and 304 deletions
|
|
@ -28,10 +28,15 @@ static char *exname;
|
|||
void
|
||||
getscreen(int argc, char **argv)
|
||||
{
|
||||
int i;
|
||||
char *t;
|
||||
|
||||
USED(argc);
|
||||
USED(argv);
|
||||
/* not exactly right */
|
||||
for(i=0; i<argc-1; i++){
|
||||
if(strcmp(argv[i], "-W") == 0)
|
||||
winsize = argv[i+1];
|
||||
}
|
||||
|
||||
if(initdraw(panic1, nil, "sam") < 0){
|
||||
fprint(2, "samterm: initdraw: %r\n");
|
||||
threadexitsall("init");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue