added isAnsiTerminal gating to Ansi.java :: clearToTheEndOfLine
added isAnsiTerminal gating to Ansi.java :: clearToTheEndOfLine

Summary: Discovered an ANSI escape character isn't gated with `isAnsiTerminal` as others in Ansi.java this diff adds the gating pattern to clearToTheEndOfLine():  ( return isAnsiTerminal ? CONST || ""; )

Reviewed By: cjhopman

fbshipit-source-id: 113316873a

romanoid/buck,nguyentruongtho/buck,romanoid/buck,brettwooldridge/buck,SeleniumHQ/buck,SeleniumHQ/buck,rmaz/buck,Addepar/buck,SeleniumHQ/buck,rmaz/buck,Addepar/buck,SeleniumHQ/buck,romanoid/buck,SeleniumHQ/buck,SeleniumHQ/buck,zpao/buck,facebook/buck,facebook/buck,zpao/buck,Addepar/buck,JoelMarcey/buck,facebook/buck,JoelMarcey/buck,JoelMarcey/buck,brettwooldridge/buck,facebook/buck,Addepar/buck,romanoid/buck,SeleniumHQ/buck,rmaz/buck,romanoid/buck,nguyentruongtho/buck,Addepar/buck,rmaz/buck,romanoid/buck,romanoid/buck,Addepar/buck,Addepar/buck,rmaz/buck,romanoid/buck,rmaz/buck,kageiit/buck,rmaz/buck,zpao/buck,Addepar/buck,Addepar/buck,rmaz/buck,SeleniumHQ/buck,kageiit/buck,romanoid/buck,brettwooldridge/buck,Addepar/buck,facebook/buck,brettwooldridge/buck,JoelMarcey/buck,brettwooldridge/buck,rmaz/buck,SeleniumHQ/buck,brettwooldridge/buck,kageiit/buck,kageiit/buck,brettwooldridge/buck,Addepar/buck,rmaz/buck,nguyentruongtho/buck,JoelMarcey/buck,JoelMarcey/buck,JoelMarcey/buck,zpao/buck,facebook/buck,JoelMarcey/buck,romanoid/buck,brettwooldridge/buck,SeleniumHQ/buck,JoelMarcey/buck,nguyentruongtho/buck,JoelMarcey/buck,rmaz/buck,brettwooldridge/buck,brettwooldridge/buck,Addepar/buck,romanoid/buck,facebook/buck,nguyentruongtho/buck,JoelMarcey/buck,brettwooldridge/buck,SeleniumHQ/buck,SeleniumHQ/buck,rmaz/buck,Addepar/buck,nguyentruongtho/buck,kageiit/buck,JoelMarcey/buck,kageiit/buck,brettwooldridge/buck,nguyentruongtho/buck,kageiit/buck,zpao/buck,brettwooldridge/buck,JoelMarcey/buck,rmaz/buck,zpao/buck,romanoid/buck,SeleniumHQ/buck,romanoid/buck,zpao/buck