From: Devin J. Pohly Date: Fri, 23 Feb 2018 20:16:52 +0000 (-0600) Subject: Split mode bits between Term and TermWindow X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=05c66cb37d9ff278a3e0c45682c4b5e7945deb42;hp=05c66cb37d9ff278a3e0c45682c4b5e7945deb42;p=st.git Split mode bits between Term and TermWindow Moves the mode bits used by x.c from Term to TermWindow, absorbing UI/input-related mode bits (visible/focused/numlock) along the way. This is gradually reducing external references to Term. Since TermWindow is already internal to x.c, we add xsetmode() to allow st to modify window bits in accordance with escape sequences. IS_SET() is redefined accordingly (term.mode in st.c, win.mode in x.c). Signed-off-by: Devin J. Pohly ---