Skip to content
Snippets Groups Projects
Commit 3cc370b3 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Create a (very simple) showbuf() implementation for the stdio uifc

parent 55a88549
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
......@@ -81,6 +81,12 @@ static int uprintf(int x, int y, unsigned attr, char *fmat, ...)
return(i);
}
static void showbuf(uifc_winmode_t, int left, int top, int width, int height
,const char *title, const char *hbuf, int *curp, int *barp)
{
puts(title);
puts(hbuf);
}
/****************************************************************************/
/* Initialization function, see uifc.h for details. */
......@@ -110,7 +116,7 @@ int uifcinix(uifcapi_t* uifcapi)
api->input=uinput;
api->sethelp=sethelp;
api->showhelp=help;
api->showbuf=NULL;
api->showbuf=showbuf;
api->timedisplay=NULL;
api->printf = uprintf;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment