]> git.armaanb.net Git - st.git/commit
Move terminal-related selection logic into st.c
authorDevin J. Pohly <djpohly@gmail.com>
Thu, 22 Feb 2018 05:29:41 +0000 (23:29 -0600)
committerDevin J. Pohly <djpohly@gmail.com>
Mon, 26 Feb 2018 03:53:24 +0000 (21:53 -0600)
commitbcb5d3adbe57ead05a829e5144c2ba1dc465865f
treed72e99c54044e02063924f2416ceb9760c2141ec
parent5683b1f80c5ac274adf98517ce2217b4d4896243
Move terminal-related selection logic into st.c

The front-end determines information about mouse clicks and motion, and
the terminal handles the actual selection start/extend/dirty logic by
row and column.

While we're in the neighborhood, we'll also rename getbuttoninfo() to
mousesel() which is, at least, less wrong.

Signed-off-by: Devin J. Pohly <djpohly@gmail.com>
st.c
st.h
x.c