Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/vt/vt.h
Show First 20 Lines • Show All 232 Lines • ▼ Show 20 Lines | |||||
void vtbuf_undirty(struct vt_buf *, term_rect_t *); | void vtbuf_undirty(struct vt_buf *, term_rect_t *); | ||||
void vtbuf_sethistory_size(struct vt_buf *, unsigned int); | void vtbuf_sethistory_size(struct vt_buf *, unsigned int); | ||||
void vtbuf_clearhistory(struct vt_buf *); | void vtbuf_clearhistory(struct vt_buf *); | ||||
int vtbuf_iscursor(const struct vt_buf *vb, int row, int col); | int vtbuf_iscursor(const struct vt_buf *vb, int row, int col); | ||||
void vtbuf_cursor_visibility(struct vt_buf *, int); | void vtbuf_cursor_visibility(struct vt_buf *, int); | ||||
#ifndef SC_NO_CUTPASTE | #ifndef SC_NO_CUTPASTE | ||||
int vtbuf_set_mark(struct vt_buf *vb, int type, int col, int row); | int vtbuf_set_mark(struct vt_buf *vb, int type, int col, int row); | ||||
int vtbuf_get_marked_len(struct vt_buf *vb); | int vtbuf_get_marked_len(struct vt_buf *vb); | ||||
void vtbuf_extract_marked(struct vt_buf *vb, term_char_t *buf, int sz); | void vtbuf_extract_marked(struct vt_buf *vb, term_char_t *buf, int sz, int mark); | ||||
#endif | #endif | ||||
#define VTB_MARK_NONE 0 | #define VTB_MARK_NONE 0 | ||||
#define VTB_MARK_END 1 | #define VTB_MARK_END 1 | ||||
#define VTB_MARK_START 2 | #define VTB_MARK_START 2 | ||||
#define VTB_MARK_WORD 3 | #define VTB_MARK_WORD 3 | ||||
#define VTB_MARK_ROW 4 | #define VTB_MARK_ROW 4 | ||||
#define VTB_MARK_EXTEND 5 | #define VTB_MARK_EXTEND 5 | ||||
▲ Show 20 Lines • Show All 203 Lines • Show Last 20 Lines |