diff --git a/ivette/src/dome/src/renderer/controls/icons.json b/ivette/src/dome/src/renderer/controls/icons.json index 681bb6d5286a132d76594580042d864e12cec557..dbe695a6bcb167ef5bf1b97b004d2df3888477b1 100644 --- a/ivette/src/dome/src/renderer/controls/icons.json +++ b/ivette/src/dome/src/renderer/controls/icons.json @@ -35,6 +35,12 @@ "viewBox": "0 0 26 24", "path": "M8.263 18.737l-0.67 0.67q-0.134 0.134-0.308 0.134t-0.308-0.134l-6.241-6.241q-0.134-0.134-0.134-0.308t0.134-0.308l6.241-6.241q0.134-0.134 0.308-0.134t0.308 0.134l0.67 0.67q0.134 0.134 0.134 0.308t-0.134 0.308l-5.263 5.263 5.263 5.263q0.134 0.134 0.134 0.308t-0.134 0.308zM16.179 4.446l-4.996 17.29q-0.054 0.174-0.208 0.261t-0.315 0.033l-0.83-0.228q-0.174-0.054-0.261-0.208t-0.033-0.328l4.996-17.29q0.054-0.174 0.208-0.261t0.315-0.033l0.83 0.228q0.174 0.054 0.261 0.208t0.033 0.328zM24.978 13.165l-6.241 6.241q-0.134 0.134-0.308 0.134t-0.308-0.134l-0.67-0.67q-0.134-0.134-0.134-0.308t0.134-0.308l5.263-5.263-5.263-5.263q-0.134-0.134-0.134-0.308t0.134-0.308l0.67-0.67q0.134-0.134 0.308-0.134t0.308 0.134l6.241 6.241q0.134 0.134 0.134 0.308t-0.134 0.308z" }, + "TERMINAL": { + "section": "Tools", + "title": "Terminal", + "viewBox": "0 0 15 16", + "path": "M5.223 8.777l-4.161 4.161q-0.089 0.089-0.205 0.089t-0.205-0.089l-0.446-0.446q-0.089-0.089-0.089-0.205t0.089-0.205l3.509-3.509-3.509-3.509q-0.089-0.089-0.089-0.205t0.089-0.205l0.446-0.446q0.089-0.089 0.205-0.089t0.205 0.089l4.161 4.161q0.089 0.089 0.089 0.205t-0.089 0.205zM14.857 12.857v0.571q0 0.125-0.080 0.205t-0.205 0.080h-8.571q-0.125 0-0.205-0.080t-0.080-0.205v-0.571q0-0.125 0.080-0.205t0.205-0.080h8.571q0.125 0 0.205 0.080t0.080 0.205z" + }, "EXECUTE": { "section": "Tools", "viewBox": "0 0 16 16", diff --git a/ivette/src/renderer/Controller.tsx b/ivette/src/renderer/Controller.tsx index 7d5991168646e6c22c1b73bc77f9e16f2847b4fa..125ce342ff050c0e912e9a2f69d4d30b1d595e19 100644 --- a/ivette/src/renderer/Controller.tsx +++ b/ivette/src/renderer/Controller.tsx @@ -235,7 +235,11 @@ const RenderConsole = () => { onClick={doPrev} title="Previous Command" /> - <Label className="dimmed" display={edited && n > 0}> + <Label + className="dimmed" + display={edited && n > 0} + title="Rank in History" + > {1 + cursor}/{n} </Label> <IconButton @@ -252,10 +256,10 @@ const RenderConsole = () => { title="Execute Command" /> <IconButton - icon="EDIT" + icon="TERMINAL" selected={edited} onClick={doEdit} - title="Edit Command Line" + title="Edit Command" /> </TitleBar> <Text