implement autoResize for terminal in demo
This is optional (but the default): You can still explicitly set COLSxROWS, but "auto" uses a ResizeObserver sets the size based on window size.
This commit is contained in:
@@ -108,3 +108,6 @@ div:first-of-type.grid {
|
||||
.vt-button * {
|
||||
margin-right: 1em;
|
||||
}
|
||||
input#opt-cols_rows {
|
||||
width: 6em;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user