Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Nov 2013 11:55:23 +0000 (UTC)
From:      Aleksandr Rybalko <ray@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r257973 - user/ed/newcons/sys/dev/vt
Message-ID:  <201311111155.rABBtN3U028955@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ray
Date: Mon Nov 11 11:55:22 2013
New Revision: 257973
URL: http://svnweb.freebsd.org/changeset/base/257973

Log:
  Define marker support functions and type of markers.
  
  Sponsored by:	The FreeBSD Foundation

Modified:
  user/ed/newcons/sys/dev/vt/vt.h

Modified: user/ed/newcons/sys/dev/vt/vt.h
==============================================================================
--- user/ed/newcons/sys/dev/vt/vt.h	Mon Nov 11 11:53:08 2013	(r257972)
+++ user/ed/newcons/sys/dev/vt/vt.h	Mon Nov 11 11:55:22 2013	(r257973)
@@ -164,9 +164,18 @@ void vtbuf_init(struct vt_buf *, const t
 void vtbuf_grow(struct vt_buf *, const term_pos_t *, int);
 void vtbuf_putchar(struct vt_buf *, const term_pos_t *, term_char_t);
 void vtbuf_cursor_position(struct vt_buf *, const term_pos_t *);
+void vtbuf_mouse_cursor_position(struct vt_buf *vb, int col, int row);
 void vtbuf_cursor_visibility(struct vt_buf *, int);
 void vtbuf_undirty(struct vt_buf *, term_rect_t *, struct vt_bufmask *);
 void vtbuf_sethistory_size(struct vt_buf *, int);
+void vtbuf_set_mark(struct vt_buf *vb, int type, int col, int row);
+int vtbuf_iscursor(struct vt_buf *vb, int row, int col);
+
+#define	VTB_MARK_END		1
+#define	VTB_MARK_START		2
+#define	VTB_MARK_WORD		3
+#define	VTB_MARK_ROW		4
+#define	VTB_MARK_EXTEND		5
 
 #define	VTBUF_SLCK_ENABLE(vb)	(vb)->vb_flags |= VBF_SCROLL
 #define	VTBUF_SLCK_DISABLE(vb)	(vb)->vb_flags &= ~VBF_SCROLL



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311111155.rABBtN3U028955>