本文整理了Java中org.jline.terminal.Attributes.setOutputFlag()
方法的一些代码示例,展示了Attributes.setOutputFlag()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Attributes.setOutputFlag()
方法的具体详情如下:
包路径:org.jline.terminal.Attributes
类名称:Attributes
方法名:setOutputFlag
暂无
代码示例来源:origin: apache/karaf
break;
case OCRNL:
attributes.setOutputFlag(OutputFlag.OCRNL, e.getValue() != 0);
break;
case ONLCR:
attributes.setOutputFlag(OutputFlag.ONLCR, e.getValue() != 0);
break;
case ONLRET:
attributes.setOutputFlag(OutputFlag.ONLRET, e.getValue() != 0);
break;
case OPOST:
attributes.setOutputFlag(OutputFlag.OPOST, e.getValue() != 0);
break;
代码示例来源:origin: com.github.fonimus/spring-boot-ssh-shell-starter
break;
case OCRNL:
attr.setOutputFlag(Attributes.OutputFlag.OCRNL, e.getValue() != 0);
break;
case ONLCR:
attr.setOutputFlag(Attributes.OutputFlag.ONLCR, e.getValue() != 0);
break;
case ONLRET:
attr.setOutputFlag(Attributes.OutputFlag.ONLRET, e.getValue() != 0);
break;
case OPOST:
attr.setOutputFlag(Attributes.OutputFlag.OPOST, e.getValue() != 0);
break;
default:
代码示例来源:origin: org.apache.karaf.shell/org.apache.karaf.shell.ssh
break;
case OCRNL:
attributes.setOutputFlag(OutputFlag.OCRNL, e.getValue() != 0);
break;
case ONLCR:
attributes.setOutputFlag(OutputFlag.ONLCR, e.getValue() != 0);
break;
case ONLRET:
attributes.setOutputFlag(OutputFlag.ONLRET, e.getValue() != 0);
break;
case OPOST:
attributes.setOutputFlag(OutputFlag.OPOST, e.getValue() != 0);
break;
代码示例来源:origin: org.jline/jline
Boolean value = doGetFlag(cfg, flag);
if (value != null) {
attributes.setOutputFlag(flag, value);
代码示例来源:origin: org.jline/jline
break;
case OCRNL:
attr.setOutputFlag(OutputFlag.OCRNL, e.getValue() != 0);
break;
case ONLCR:
attr.setOutputFlag(OutputFlag.ONLCR, e.getValue() != 0);
break;
case ONLRET:
attr.setOutputFlag(OutputFlag.ONLRET, e.getValue() != 0);
break;
case OPOST:
attr.setOutputFlag(OutputFlag.OPOST, e.getValue() != 0);
break;
代码示例来源:origin: org.jline/jline-remote-ssh
break;
case OCRNL:
attr.setOutputFlag(OutputFlag.OCRNL, e.getValue() != 0);
break;
case ONLCR:
attr.setOutputFlag(OutputFlag.ONLCR, e.getValue() != 0);
break;
case ONLRET:
attr.setOutputFlag(OutputFlag.ONLRET, e.getValue() != 0);
break;
case OPOST:
attr.setOutputFlag(OutputFlag.OPOST, e.getValue() != 0);
break;
内容来源于网络,如有侵权,请联系作者删除!