mirror of
https://github.com/urbit/shrub.git
synced 2024-11-28 13:54:20 +03:00
webterm: retain prompt on %clr
This commit is contained in:
parent
acd9176d76
commit
8e77764cfc
@ -24,7 +24,8 @@ export default class Store {
|
||||
beep.play();
|
||||
break;
|
||||
case 'clr':
|
||||
this.setState({ lines: [''] });
|
||||
this.state.lines = this.state.lines.slice(-1);
|
||||
this.setState({ lines: this.state.lines });
|
||||
break;
|
||||
case 'hop':
|
||||
this.setState({ cursor: blit.hop });
|
||||
|
Loading…
Reference in New Issue
Block a user