thin-cursor.lua: update comments

This commit is contained in:
Přemysl Eric Janouch 2016-10-30 01:50:21 +02:00
parent 414a525c4d
commit 7c6cf42075
Signed by: p
GPG Key ID: B715679E3A361BE6
1 changed files with 3 additions and 2 deletions

View File

@ -15,13 +15,14 @@
-- OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN -- OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
-- CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -- CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-- --
-- If tmux doesn't work, add the following to its configuration:
-- If tmux doesn't work, add the following to the configuration and reload it:
-- set -as terminal-overrides ',*:Ss=\E[%p1%d q:Se=\E[2 q' -- set -as terminal-overrides ',*:Ss=\E[%p1%d q:Se=\E[2 q'
-- Change the "2" as per http://invisible-island.net/xterm/ctlseqs/ctlseqs.html -- Change the "2" as per http://invisible-island.net/xterm/ctlseqs/ctlseqs.html
local out = io.output () local out = io.output ()
out:write ("\x1b[6 q"):flush () out:write ("\x1b[6 q"):flush ()
-- By registering a global variable, we get notified about plugin unload
x = setmetatable ({}, { __gc = function () x = setmetatable ({}, { __gc = function ()
out:write ("\x1b[2 q"):flush () out:write ("\x1b[2 q"):flush ()
end }) end })