MCPcopy Index your code
hub / github.com/beanshell/beanshell / enter

Method enter

src/bsh/util/JConsole.java:390–404  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

388
389
390 private void enter() {
391 String s = getCmd();
392
393 if ( s.length() == 0 ) // special hack for empty return!
394 s = ";\n";
395 else {
396 history.addElement( s );
397 s = s +"\n";
398 }
399
400 append("\n");
401 histLine = 0;
402 acceptLine( s );
403 text.repaint();
404 }
405
406 private String getCmd() {
407 String s = "";

Callers 1

typeMethod · 0.95

Calls 3

getCmdMethod · 0.95
appendMethod · 0.95
acceptLineMethod · 0.95

Tested by

no test coverage detected