summaryrefslogtreecommitdiffstats
path: root/src/c_input.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/c_input.c')
-rw-r--r--src/c_input.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/c_input.c b/src/c_input.c
index d3360cd..1cc8814 100644
--- a/src/c_input.c
+++ b/src/c_input.c
@@ -22,7 +22,7 @@
#include "m_loop.h"
int16_t
- c_init_line(t_caps *tcaps)
+ c_init_line(uint8_t psx, t_caps *tcaps)
{
if (tcaps)
{
@@ -30,6 +30,7 @@ int16_t
signal(SIGINT, SIG_IGN);
tcaps->cpos = 0;
tcaps->lpos = 0;
+ tcaps->psx = psx - 1;
return (1);
}
else