Skip to content

Conversation

@kwsantiago
Copy link

GUI/Console: Add /clearhistory command

Closes #204

Implementation

  • Type /clearhistory
  • GUI prompt warns it's irreversible but not guaranteed irrecoverable, and clears output too
  • Overwrites saved history with same-length dummy data (no new length info stored)
  • Calls history.clear() and overwrites saved history again
  • Clears console output

Copy link

@1440000bytes 1440000bytes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review ACK ddf5fe4

@kwsantiago kwsantiago force-pushed the kwsantiago/204-clearhistory branch from ddf5fe4 to d272991 Compare November 4, 2025 21:47
@kwsantiago kwsantiago requested a review from luke-jr November 4, 2025 21:47
@kwsantiago kwsantiago force-pushed the kwsantiago/204-clearhistory branch from d272991 to a516809 Compare November 6, 2025 21:31
@kwsantiago kwsantiago requested a review from luke-jr November 6, 2025 21:31
@kwsantiago kwsantiago force-pushed the kwsantiago/204-clearhistory branch from a516809 to 7cb0262 Compare November 7, 2025 17:04
@kwsantiago kwsantiago force-pushed the kwsantiago/204-clearhistory branch from 7cb0262 to 918f4ec Compare November 7, 2025 19:29
@kwsantiago kwsantiago requested a review from luke-jr November 7, 2025 19:29
@kwsantiago kwsantiago force-pushed the kwsantiago/204-clearhistory branch from 918f4ec to 1498a7b Compare November 9, 2025 00:43
@kwsantiago kwsantiago requested a review from luke-jr November 9, 2025 00:43
@kwsantiago kwsantiago force-pushed the kwsantiago/204-clearhistory branch from 1498a7b to 2eb19df Compare November 16, 2025 01:19
@kwsantiago kwsantiago force-pushed the kwsantiago/204-clearhistory branch from 2eb19df to de081d7 Compare November 16, 2025 01:20
@kwsantiago kwsantiago requested a review from luke-jr November 16, 2025 01:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

GUI/Console: A way to clear command history

3 participants