demoit icon indicating copy to clipboard operation
demoit copied to clipboard

Continuity of shell history

Open Deleplace opened this issue 6 years ago • 1 comments

  • In step N, run shell command X
  • Then the "Up" arrow key can be used to re-run the same command X
  • Move forward to step N+1, which also features a web-term
  • The "Up" arrow key doesn't remember X
    • it would be nice if it did

Deleplace avatar Apr 16 '19 08:04 Deleplace

There are few possibilities about how to achieve such behavior:

  1. Don't create any bash_history temp file and write the history into the .demoit/.bash_history, code here : https://github.com/tomor/demoit/commit/a54874ec569add556e9622cff2624265ac418d58
  2. Create only one temp history file during the demo - history shared between slides, code here: https://github.com/tomor/demoit/commit/bc87b1debe860b89c39c1e82e5459fe8fd0c6877
  3. Create only one temp history file during demo per slide - history not shared between slides

tomor avatar Jun 20 '19 16:06 tomor