Don't blink the cursor if it should not be visible
Don't blink the cursor if it should not be visible

Also, when stopping blinking, set the cursor's visibility to whatever it is on the underlying model. This fixes issues where the cursor would blink when there was a selection.
woss/atom,Jdesk/atom,florianb/atom,batjko/atom,palita01/atom,qiujuer/atom,Rodjana/atom,fredericksilva/atom,tjkr/atom,RobinTec/atom,bj7/atom,CraZySacX/atom,execjosh/atom,yalexx/atom,jjz/atom,darwin/atom,jtrose2/atom,hpham04/atom,svanharmelen/atom,woss/atom,amine7536/atom,vinodpanicker/atom,jordanbtucker/atom,seedtigo/atom,mnquintana/atom,scippio/atom,prembasumatary/atom,hharchani/atom,deoxilix/atom,ivoadf/atom,synaptek/atom,jlord/atom,Neron-X5/atom,SlimeQ/atom,FIT-CSE2410-A-Bombs/atom,Abdillah/atom,sxgao3001/atom,G-Baby/atom,codex8/atom,fedorov/atom,boomwaiza/atom,Shekharrajak/atom,ObviouslyGreen/atom,targeter21/atom,MjAbuz/atom,toqz/atom,woss/atom,dijs/atom,lpommers/atom,AlisaKiatkongkumthon/atom,svanharmelen/atom,splodingsocks/atom,dannyflax/atom,jjz/atom,devmario/atom,tisu2tisu/atom,medovob/atom,alfredxing/atom,burodepeper/atom,alexandergmann/atom,kdheepak89/atom,dannyflax/atom,sebmck/atom,amine7536/atom,DiogoXRP/atom,gontadu/atom,acontreras89/atom,hagb4rd/atom,wiggzz/atom,deoxilix/atom,t9md/atom,hagb4rd/atom,dsandstrom/atom,Ju2ender/atom,medovob/atom,liuderchi/atom,ilovezy/atom,daxlab/atom,MjAbuz/atom,splodingsocks/atom,john-kelly/atom,fredericksilva/atom,fredericksilva/atom,prembasumatary/atom,Andrey-Pavlov/atom,jjz/atom,tisu2tisu/atom,erikhakansson/atom,kjav/atom,ardeshirj/atom,Ingramz/atom,sebmck/atom,Rychard/atom,Sangaroonaom/atom,harshdattani/atom,amine7536/atom,dsandstrom/atom,BogusCurry/atom,GHackAnonymous/atom,Jdesk/atom,rlugojr/atom,basarat/atom,einarmagnus/atom,RuiDGoncalves/atom,sotayamashita/atom,beni55/atom,Ju2ender/atom,elkingtonmcb/atom,darwin/atom,sotayamashita/atom,Jonekee/atom,kdheepak89/atom,niklabh/atom,Mokolea/atom,tjkr/atom,tisu2tisu/atom,nrodriguez13/atom,pengshp/atom,charleswhchan/atom,Galactix/atom,originye/atom,qiujuer/atom,liuderchi/atom,codex8/atom,dijs/atom,chfritz/atom,hpham04/atom,rsvip/aTom,kc8wxm/atom,davideg/atom,rlugojr/atom,ykeisuke/atom,hpham04/atom,githubteacher/atom,mertkahyaoglu/atom,nrodriguez13/atom,alfredxing/atom,githubteacher/atom,githubteacher/atom,hakatashi/atom,john-kelly/atom,paulcbetts/atom,hellendag/atom,originye/atom,constanzaurzua/atom,qiujuer/atom,Arcanemagus/atom,prembasumatary/atom,deepfox/atom,efatsi/atom,jtrose2/atom,tmunro/atom,AlbertoBarrago/atom,bryonwinger/atom,omarhuanca/atom,jeremyramin/atom,YunchengLiao/atom,anuwat121/atom,fedorov/atom,lpommers/atom,rookie125/atom,n-riesco/atom,mnquintana/atom,jlord/atom,Hasimir/atom,Sangaroonaom/atom,niklabh/atom,einarmagnus/atom,AlbertoBarrago/atom,atom/atom,ppamorim/atom,batjko/atom,ReddTea/atom,devoncarew/atom,charleswhchan/atom,originye/atom,stuartquin/atom,avdg/atom,wiggzz/atom,AlexxNica/atom,rmartin/atom,Galactix/atom,elkingtonmcb/atom,NunoEdgarGub1/atom,KENJU/atom,brumm/atom,dannyflax/atom,kdheepak89/atom,jjz/atom,stinsonga/atom,kittens/atom,pombredanne/atom,ali/atom,dijs/atom,ilovezy/atom,ezeoleaf/atom,devmario/atom,lovesnow/atom,pombredanne/atom,isghe/atom,johnrizzo1/atom,sekcheong/atom,AdrianVovk/substance-ide,scippio/atom,t9md/atom,Jandersoft/atom,Austen-G/BlockBuilder,jacekkopecky/atom,lisonma/atom,Rychard/atom,abcP9110/atom,qskycolor/atom,davideg/atom,gisenberg/atom,bsmr-x-script/atom,codex8/atom,kc8wxm/atom,batjko/atom,beni55/atom,amine7536/atom,burodepeper/atom,fredericksilva/atom,chengky/atom,paulcbetts/atom,0x73/atom,me6iaton/atom,h0dgep0dge/atom,alexandergmann/atom,hagb4rd/atom,g2p/atom,alfredxing/atom,execjosh/atom,rmartin/atom,vinodpanicker/atom,yangchenghu/atom,splodingsocks/atom,charleswhchan/atom,batjko/atom,yalexx/atom,palita01/atom,florianb/atom,cyzn/atom,mnquintana/atom,folpindo/atom,0x73/atom,stuartquin/atom,decaffeinate-examples/atom,nrodriguez13/atom,Rychard/atom,FoldingText/atom,johnhaley81/atom,synaptek/atom,YunchengLiao/atom,seedtigo/atom,ironbox360/atom,paulcbetts/atom,Austen-G/BlockBuilder,RuiDGoncalves/atom,Huaraz2/atom,dannyflax/atom,pkdevbox/atom,yomybaby/atom,stinsonga/atom,darwin/atom,atom/atom,sillvan/atom,ali/atom,t9md/atom,bradgearon/atom,ashneo76/atom,Hasimir/atom,mostafaeweda/atom,abe33/atom,Jandersolutions/atom,kittens/atom,devoncarew/atom,vcarrera/atom,transcranial/atom,jlord/atom,chengky/atom,omarhuanca/atom,deepfox/atom,ReddTea/atom,ObviouslyGreen/atom,dsandstrom/atom,mostafaeweda/atom,me6iaton/atom,targeter21/atom,liuderchi/atom,rjattrill/atom,helber/atom,yomybaby/atom,vjeux/atom,acontreras89/atom,abcP9110/atom,sekcheong/atom,basarat/atom,vcarrera/atom,matthewclendening/atom,rxkit/atom,G-Baby/atom,xream/atom,vjeux/atom,FIT-CSE2410-A-Bombs/atom,fscherwi/atom,brumm/atom,yomybaby/atom,rxkit/atom,mostafaeweda/atom,john-kelly/atom,russlescai/atom,bj7/atom,fredericksilva/atom,bcoe/atom,constanzaurzua/atom,gontadu/atom,KENJU/atom,gontadu/atom,isghe/atom,hagb4rd/atom,nvoron23/atom,isghe/atom,bcoe/atom,Neron-X5/atom,AdrianVovk/substance-ide,NunoEdgarGub1/atom,gisenberg/atom,Klozz/atom,NunoEdgarGub1/atom,davideg/atom,ironbox360/atom,RobinTec/atom,yomybaby/atom,bryonwinger/atom,brumm/atom,dkfiresky/atom,jeremyramin/atom,decaffeinate-examples/atom,crazyquark/atom,johnhaley81/atom,chfritz/atom,me-benni/atom,me-benni/atom,h0dgep0dge/atom,Neron-X5/atom,pkdevbox/atom,sxgao3001/atom,CraZySacX/atom,ashneo76/atom,Ju2ender/atom,kevinrenaers/atom,Andrey-Pavlov/atom,Ju2ender/atom,helber/atom,me6iaton/atom,jeremyramin/atom,sebmck/atom,dannyflax/atom,jacekkopecky/atom,stinsonga/atom,mertkahyaoglu/atom,ilovezy/atom,nvoron23/atom,transcranial/atom,efatsi/atom,dsandstrom/atom,Austen-G/BlockBuilder,pombredanne/atom,nvoron23/atom,basarat/atom,dkfiresky/atom,chfritz/atom,NunoEdgarGub1/atom,jlord/atom,basarat/atom,jjz/atom,devmario/atom,Rodjana/atom,fedorov/atom,FoldingText/atom,niklabh/atom,nucked/atom,champagnez/atom,bryonwinger/atom,brettle/atom,pengshp/atom,splodingsocks/atom,davideg/atom,Jdesk/atom,G-Baby/atom,vcarrera/atom,toqz/atom,rmartin/atom,russlescai/atom,phord/atom,acontreras89/atom,champagnez/atom,abcP9110/atom,omarhuanca/atom,rookie125/atom,folpindo/atom,Hasimir/atom,florianb/atom,tmunro/atom,AlisaKiatkongkumthon/atom,toqz/atom,andrewleverette/atom,Hasimir/atom,Jandersoft/atom,matthewclendening/atom,florianb/atom,oggy/atom,ashneo76/atom,pombredanne/atom,lisonma/atom,kc8wxm/atom,anuwat121/atom,mrodalgaard/atom,stinsonga/atom,kandros/atom,rsvip/aTom,harshdattani/atom,jacekkopecky/atom,yamhon/atom,jacekkopecky/atom,mnquintana/atom,rookie125/atom,paulcbetts/atom,vhutheesing/atom,yangchenghu/atom,AlexxNica/atom,rlugojr/atom,hakatashi/atom,devoncarew/atom,vjeux/atom,decaffeinate-examples/atom,001szymon/atom,Jandersoft/atom,targeter21/atom,dkfiresky/atom,Dennis1978/atom,MjAbuz/atom,ppamorim/atom,ralphtheninja/atom,Arcanemagus/atom,YunchengLiao/atom,andrewleverette/atom,liuxiong332/atom,ali/atom,ilovezy/atom,Austen-G/BlockBuilder,sekcheong/atom,rsvip/aTom,ali/atom,GHackAnonymous/atom,g2p/atom,vcarrera/atom,gisenberg/atom,crazyquark/atom,vinodpanicker/atom,beni55/atom,einarmagnus/atom,Andrey-Pavlov/atom,hellendag/atom,Mokolea/atom,elkingtonmcb/atom,jtrose2/atom,bencolon/atom,Mokolea/atom,g2p/atom,targeter21/atom,FoldingText/atom,cyzn/atom,prembasumatary/atom,sebmck/atom,cyzn/atom,boomwaiza/atom,toqz/atom,vhutheesing/atom,SlimeQ/atom,matthewclendening/atom,Shekharrajak/atom,prembasumatary/atom,Jandersoft/atom,daxlab/atom,rjattrill/atom,pkdevbox/atom,sillvan/atom,Galactix/atom,ivoadf/atom,omarhuanca/atom,001szymon/atom,dsandstrom/atom,scv119/atom,fscherwi/atom,Locke23rus/atom,SlimeQ/atom,palita01/atom,execjosh/atom,GHackAnonymous/atom,synaptek/atom,bencolon/atom,bsmr-x-script/atom,jtrose2/atom,Sangaroonaom/atom,GHackAnonymous/atom,Abdillah/atom,tmunro/atom,FoldingText/atom,rxkit/atom,isghe/atom,Galactix/atom,Andrey-Pavlov/atom,sxgao3001/atom,Jonekee/atom,yangchenghu/atom,Abdillah/atom,matthewclendening/atom,Hasimir/atom,Jdesk/atom,ReddTea/atom,hharchani/atom,001szymon/atom,mdumrauf/atom,vhutheesing/atom,ppamorim/atom,fang-yufeng/atom,jordanbtucker/atom,tanin47/atom,oggy/atom,qskycolor/atom,liuxiong332/atom,bj7/atom,Neron-X5/atom,gabrielPeart/atom,rmartin/atom,constanzaurzua/atom,pengshp/atom,gzzhanghao/atom,n-riesco/atom,ironbox360/atom,AlexxNica/atom,gabrielPeart/atom,KENJU/atom,lpommers/atom,hellendag/atom,Dennis1978/atom,panuchart/atom,h0dgep0dge/atom,Locke23rus/atom,codex8/atom,ppamorim/atom,ezeoleaf/atom,mrodalgaard/atom,FoldingText/atom,ppamorim/atom,brettle/atom,Shekharrajak/atom,hharchani/atom,AlisaKiatkongkumthon/atom,ObviouslyGreen/atom,DiogoXRP/atom,Austen-G/BlockBuilder,CraZySacX/atom,lovesnow/atom,rsvip/aTom,PKRoma/atom,Rodjana/atom,boomwaiza/atom,mertkahyaoglu/atom,fscherwi/atom,dkfiresky/atom,ivoadf/atom,basarat/atom,ilovezy/atom,me-benni/atom,BogusCurry/atom,scv119/atom,oggy/atom,constanzaurzua/atom,n-riesco/atom,synaptek/atom,davideg/atom,jtrose2/atom,ezeoleaf/atom,bryonwinger/atom,FoldingText/atom,crazyquark/atom,gzzhanghao/atom,jacekkopecky/atom,andrewleverette/atom,sekcheong/atom,kaicataldo/atom,sxgao3001/atom,deepfox/atom,ykeisuke/atom,scv119/atom,erikhakansson/atom,phord/atom,gzzhanghao/atom,jacekkopecky/atom,targeter21/atom,devmario/atom,johnrizzo1/atom,chengky/atom,liuxiong332/atom,Ingramz/atom,brettle/atom,tanin47/atom,0x73/atom,johnhaley81/atom,h0dgep0dge/atom,deoxilix/atom,mertkahyaoglu/atom,SlimeQ/atom,Klozz/atom,tanin47/atom,pombredanne/atom,gabrielPeart/atom,Jandersolutions/atom,crazyquark/atom,batjko/atom,kjav/atom,Galactix/atom,RuiDGoncalves/atom,kittens/atom,Klozz/atom,DiogoXRP/atom,fang-yufeng/atom,yomybaby/atom,kaicataldo/atom,woss/atom,mnquintana/atom,jordanbtucker/atom,rmartin/atom,bencolon/atom,avdg/atom,kjav/atom,nucked/atom,lisonma/atom,devoncarew/atom,amine7536/atom,panuchart/atom,lisonma/atom,abe33/atom,stuartquin/atom,0x73/atom,kittens/atom,sxgao3001/atom,panuchart/atom,atom/atom,ardeshirj/atom,harshdattani/atom,ralphtheninja/atom,bolinfest/atom,woss/atom,abe33/atom,AdrianVovk/substance-ide,qiujuer/atom,Shekharrajak/atom,lisonma/atom,SlimeQ/atom,RobinTec/atom,YunchengLiao/atom,ReddTea/atom,vinodpanicker/atom,RobinTec/atom,Shekharrajak/atom,Ju2ender/atom,seedtigo/atom,Dennis1978/atom,charleswhchan/atom,omarhuanca/atom,me6iaton/atom,oggy/atom,deepfox/atom,sillvan/atom,bcoe/atom,alexandergmann/atom,dannyflax/atom,kjav/atom,PKRoma/atom,folpindo/atom,kevinrenaers/atom,avdg/atom,Huaraz2/atom,tony612/atom,kdheepak89/atom,codex8/atom,bcoe/atom,sillvan/atom,abcP9110/atom,mdumrauf/atom,phord/atom,qskycolor/atom,qskycolor/atom,me6iaton/atom,scv119/atom,Abdillah/atom,n-riesco/atom,PKRoma/atom,kaicataldo/atom,liuxiong332/atom,ralphtheninja/atom,Locke23rus/atom,kandros/atom,liuderchi/atom,Jdesk/atom,Arcanemagus/atom,ezeoleaf/atom,anuwat121/atom,sillvan/atom,burodepeper/atom,hagb4rd/atom,einarmagnus/atom,qiujuer/atom,svanharmelen/atom,acontreras89/atom,florianb/atom,devoncarew/atom,crazyquark/atom,vjeux/atom,vjeux/atom,johnrizzo1/atom,fedorov/atom,constanzaurzua/atom,transcranial/atom,yalexx/atom,bcoe/atom,Austen-G/BlockBuilder,kandros/atom,fedorov/atom,ardeshirj/atom,chengky/atom,efatsi/atom,RobinTec/atom,mdumrauf/atom,hakatashi/atom,hpham04/atom,rsvip/aTom,YunchengLiao/atom,BogusCurry/atom,einarmagnus/atom,medovob/atom,rjattrill/atom,erikhakansson/atom,KENJU/atom,yamhon/atom,acontreras89/atom,kittens/atom,liuxiong332/atom,tony612/atom,hharchani/atom,kc8wxm/atom,rjattrill/atom,Huaraz2/atom,russlescai/atom,isghe/atom,MjAbuz/atom,sotayamashita/atom,hpham04/atom,tony612/atom,hharchani/atom,nucked/atom,basarat/atom,chengky/atom,Andrey-Pavlov/atom,daxlab/atom,dkfiresky/atom,Abdillah/atom,bolinfest/atom,vinodpanicker/atom,Jandersolutions/atom,charleswhchan/atom,wiggzz/atom,tony612/atom,fang-yufeng/atom,gisenberg/atom,yalexx/atom,sebmck/atom,kc8wxm/atom,bsmr-x-script/atom,lovesnow/atom,jlord/atom,nvoron23/atom,mrodalgaard/atom,mostafaeweda/atom,scippio/atom,helber/atom,toqz/atom,bolinfest/atom,oggy/atom,Neron-X5/atom,AlbertoBarrago/atom,kdheepak89/atom,deepfox/atom,devmario/atom,lovesnow/atom,fang-yufeng/atom,fang-yufeng/atom,vcarrera/atom,ali/atom,decaffeinate-examples/atom,mertkahyaoglu/atom,GHackAnonymous/atom,russlescai/atom,ReddTea/atom,MjAbuz/atom,russlescai/atom,yamhon/atom,KENJU/atom,tony612/atom,FIT-CSE2410-A-Bombs/atom,xream/atom,qskycolor/atom,gisenberg/atom,Jandersoft/atom,synaptek/atom,hakatashi/atom,bradgearon/atom,ykeisuke/atom,tjkr/atom,bradgearon/atom,matthewclendening/atom,kevinrenaers/atom,kjav/atom,lovesnow/atom,xream/atom,champagnez/atom,NunoEdgarGub1/atom,Jandersolutions/atom,john-kelly/atom,Jandersolutions/atom,mostafaeweda/atom,Jonekee/atom,john-kelly/atom,n-riesco/atom,yalexx/atom,sekcheong/atom,abcP9110/atom,Ingramz/atom,nvoron23/atom