aboutsummaryrefslogtreecommitdiff
path: root/include/06.keyboard/keyboard08.c
diff options
context:
space:
mode:
Diffstat (limited to 'include/06.keyboard/keyboard08.c')
-rw-r--r--include/06.keyboard/keyboard08.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/include/06.keyboard/keyboard08.c b/include/06.keyboard/keyboard08.c
deleted file mode 100644
index 822e038..0000000
--- a/include/06.keyboard/keyboard08.c
+++ /dev/null
@@ -1,18 +0,0 @@
-void enter()
-{
- printf("\n");
- if(buffer_index>0)
- {
- tty(buffer[buffer_current]);
- buffer_size[buffer_current]=buffer_index;
- if(buffer_current==buffer_all) buffer_current=(++buffer_all);
- else
- {
- for(size_t i=0;i<BUFFER_SIZE;i++) buffer[buffer_all][i]='\0';
- buffer_current=buffer_all;
- }
- buffer_index=0;
- }
- prompt();
- return;
-}