Run console.clear() in handleClearScreen when invoked by Ctrl-L. (#356)
Copied from sethtroisi@'s identical improvement to /clear in change #355.
This commit is contained in:
parent
5b4c9e8e43
commit
5c6e601026
|
@ -182,6 +182,7 @@ export const App = ({
|
|||
|
||||
const handleClearScreen = useCallback(() => {
|
||||
clearItems();
|
||||
console.clear();
|
||||
refreshStatic();
|
||||
}, [clearItems, refreshStatic]);
|
||||
|
||||
|
|
Loading…
Reference in New Issue