Skip to content

Commit d456d34

Browse files
javier-godoymlopezFC
authored andcommitted
chore(demo): update error message and remove notification
1 parent 3e4ec79 commit d456d34

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/test/java/com/flowingcode/vaadin/addons/xterm/XtermDemoView.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
import com.flowingcode.vaadin.addons.xterm.ITerminalClipboard.UseSystemClipboard;
2525
import com.flowingcode.vaadin.addons.xterm.ITerminalOptions.BellStyle;
2626
import com.flowingcode.vaadin.addons.xterm.ITerminalOptions.CursorStyle;
27-
import com.vaadin.flow.component.notification.Notification;
2827
import com.vaadin.flow.component.orderedlayout.VerticalLayout;
2928
import com.vaadin.flow.router.Route;
3029
import java.time.LocalDate;
@@ -97,9 +96,8 @@ public XtermDemoView() {
9796
break;
9897
default:
9998
if (!ev.getLine().trim().isEmpty()) {
100-
xterm.writeln("Bad command");
99+
xterm.writeln("Unknown command: " + line[0]);
101100
}
102-
Notification.show(ev.getLine());
103101
}
104102
});
105103

0 commit comments

Comments
 (0)