summaryrefslogtreecommitdiffstats
path: root/src/c_input.h
blob: be26a79d320e65d2ce1579fa8efc2739e6ac979b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* ************************************************************************** */
/*                                                                            */
/*                                                        :::      ::::::::   */
/*   c_input.h                                          :+:      :+:    :+:   */
/*                                                    +:+ +:+         +:+     */
/*   By: rbousset <marvin@42.fr>                    +#+  +:+       +#+        */
/*                                                +#+#+#+#+#+   +#+           */
/*   Created: 2020/02/14 17:19:27 by rbousset          #+#    #+#             */
/*   Updated: 2020/02/14 17:19:29 by rbousset         ###   ########lyon.fr   */
/*                                                                            */
/* ************************************************************************** */

#ifndef C_INPUT_H
#define C_INPUT_H

int16_t c_key_right(uint32_t len, t_caps *tcaps);
int16_t c_key_left(uint32_t len, t_caps *tcaps);
int16_t c_new_line(char *buf, char **line, t_msh *msh, t_caps *tcaps);
int16_t c_back_slash(char **line, t_caps *tcaps);
int16_t c_ctrl_l(char *line, t_caps *tcaps, t_msh *msh);
int16_t c_home_key(t_caps *tcaps);
int16_t c_end_key(uint16_t size, t_caps *tcaps);

#endif