kolibrios-fun/programs/system/shell/cmd/cmd_history.c
siemargl 0a3c951b56 better up/dwn arrows, docu
git-svn-id: svn://kolibrios.org@6822 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-01-01 22:28:50 +00:00

15 lines
158 B
C

int cmd_history(char arg[])
{
int i;
for (i = CMD_HISTORY_NUM_REAL - 1; i >= 0; i--)
{
printf("%s\n", CMD_HISTORY[i]);
}
return TRUE;
}