File: edit.h

package info (click to toggle)
alevt 1:1.6.2-4
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 956 kB
  • ctags: 662
  • sloc: ansic: 6,284; makefile: 119; perl: 104; sh: 15
file content (20 lines) | stat: -rw-r--r-- 405 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef EDIT_H
#define EDIT_H

#include "vt.h"
#include "xio.h"
#include "edline.h"

struct edwin {
    struct xio_win *xw;
    int pgno, subno;
    int x, y;		// cursor pos
    int reveal;
    int mode;		// insert mode
    struct edline *edline;
    u8 tmpbuf[40];	// to hold the bottom line while edline active
};

struct edwin *edwin_new(struct xio *xio, struct vbi *vbi, int pgno, int subno);

#endif