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

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

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

Attributes.setInputFlag介绍

暂无

代码示例

代码示例来源:origin: apache/karaf

break;
case ICRNL:
  attributes.setInputFlag(InputFlag.ICRNL, e.getValue() != 0);
  break;
case INLCR:
  attributes.setInputFlag(InputFlag.INLCR, e.getValue() != 0);
  break;
case IGNCR:
  attributes.setInputFlag(InputFlag.IGNCR, e.getValue() != 0);
  break;
case OCRNL:

代码示例来源:origin: com.github.fonimus/spring-boot-ssh-shell-starter

break;
case ICRNL:
  attr.setInputFlag(Attributes.InputFlag.ICRNL, e.getValue() != 0);
  break;
case INLCR:
  attr.setInputFlag(Attributes.InputFlag.INLCR, e.getValue() != 0);
  break;
case IGNCR:
  attr.setInputFlag(Attributes.InputFlag.IGNCR, e.getValue() != 0);
  break;
case OCRNL:

代码示例来源:origin: org.apache.karaf.shell/org.apache.karaf.shell.ssh

break;
case ICRNL:
  attributes.setInputFlag(InputFlag.ICRNL, e.getValue() != 0);
  break;
case INLCR:
  attributes.setInputFlag(InputFlag.INLCR, e.getValue() != 0);
  break;
case IGNCR:
  attributes.setInputFlag(InputFlag.IGNCR, e.getValue() != 0);
  break;
case OCRNL:

代码示例来源:origin: org.jline/jline

Boolean value = doGetFlag(cfg, flag);
if (value != null) {
  attributes.setInputFlag(flag, value);

代码示例来源:origin: org.jline/jline

break;
case ICRNL:
  attr.setInputFlag(InputFlag.ICRNL, e.getValue() != 0);
  break;
case INLCR:
  attr.setInputFlag(InputFlag.INLCR, e.getValue() != 0);
  break;
case IGNCR:
  attr.setInputFlag(InputFlag.IGNCR, e.getValue() != 0);
  break;
case OCRNL:

代码示例来源:origin: org.jline/jline-remote-ssh

break;
case ICRNL:
  attr.setInputFlag(InputFlag.ICRNL, e.getValue() != 0);
  break;
case INLCR:
  attr.setInputFlag(InputFlag.INLCR, e.getValue() != 0);
  break;
case IGNCR:
  attr.setInputFlag(InputFlag.IGNCR, e.getValue() != 0);
  break;
case OCRNL:

代码示例来源:origin: org.jline/jline

attr.setInputFlag(Attributes.InputFlag.IGNCR, true);
terminal.setAttributes(attr);

相关文章