Wipe on Alt+W as well as put the boxes back
Alt+W only put the boxes back, so wiping needed Ctrl+W or the button. It now goes both ways, the way N1MM's Wipe button does: with something in the boxes it clears them, and pressed again on empty boxes it puts back what it cleared. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015NZkFxHde1iifAQemFTHxf
This commit is contained in:
@@ -448,7 +448,18 @@ public sealed class OperatingPosition
|
||||
ClearEntry();
|
||||
}
|
||||
|
||||
/// N1MM's Alt+W: puts back what the last wipe cleared. False when no wipe
|
||||
/// N1MM's Alt+W and its Wipe button: one key both ways. With something in
|
||||
/// the boxes it clears them; with the boxes empty it puts back what the
|
||||
/// last wipe cleared.
|
||||
public void WipeOrRestore()
|
||||
{
|
||||
if (!RestoreWiped())
|
||||
{
|
||||
Wipe();
|
||||
}
|
||||
}
|
||||
|
||||
/// Puts back what the last wipe cleared. False when no wipe
|
||||
/// has anything to put back, or when the boxes have something in them
|
||||
/// again — N1MM restores into an empty entry only, so nothing typed since
|
||||
/// the wipe is lost.
|
||||
|
||||
Reference in New Issue
Block a user