Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

61 lines (50 sloc) 0.944 kb
#pragma once
quIRC - simple terminal-based IRC client
Copyright (C) 2010-11 Edward Cree
See quirc.c for license information
input: handle input routines
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include <string.h>
#include <ctype.h>
typedef struct
char *data;
int l;
int i;
typedef struct
ichar left;
ichar right;
typedef struct
int nlines;
int ptr;
int scroll;
bool filled;
char **line;
#include "ttyesc.h"
#include "names.h"
#include "buffer.h"
#include "irc.h"
#include "bits.h"
bool ttab;
int inputchar(iline *inp, int *state);
char * slash_dequote(char *inp);
int cmd_handle(char *inp, char **qmsg, fd_set *master, int *fdmax);
void initibuf(ibuffer *i);
void addtoibuf(ibuffer *i, char *data);
void freeibuf(ibuffer *i);
char back_ichar(ichar *buf); // returns the deleted char
void ifree(iline *buf);
void i_home(iline *inp);
void i_end(iline *inp);
Jump to Line
Something went wrong with that request. Please try again.