mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 01:48:00 +00:00
28 lines
411 B
C
28 lines
411 B
C
|
/*
|
||
|
* pterm main program.
|
||
|
*/
|
||
|
|
||
|
#include <stdio.h>
|
||
|
|
||
|
#include "putty.h"
|
||
|
|
||
|
Backend *select_backend(Config *cfg)
|
||
|
{
|
||
|
return &pty_backend;
|
||
|
}
|
||
|
|
||
|
int cfgbox(Config *cfg)
|
||
|
{
|
||
|
return 1; /* no-op in pterm */
|
||
|
}
|
||
|
|
||
|
int main(int argc, char **argv)
|
||
|
{
|
||
|
extern int pt_main(int argc, char **argv);
|
||
|
extern void pty_pre_init(void); /* declared in pty.c */
|
||
|
|
||
|
pty_pre_init();
|
||
|
|
||
|
return pt_main(argc, argv);
|
||
|
}
|