org.jline.terminal.Attributes.setOutputFlag()方法的使用及代码示例

x33g5p2x  于2022-01-17 转载在 其他  
字(2.2k)|赞(0)|评价(0)|浏览(164)

本文整理了Java中org.jline.terminal.Attributes.setOutputFlag()方法的一些代码示例,展示了Attributes.setOutputFlag()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Attributes.setOutputFlag()方法的具体详情如下:
包路径:org.jline.terminal.Attributes
类名称:Attributes
方法名:setOutputFlag

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;

相关文章