Skip to content

Commit

Permalink
Improve menu entries
Browse files Browse the repository at this point in the history
  • Loading branch information
magiblot committed Oct 30, 2024
1 parent 9c1bf05 commit a097a4d
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions source/tvterm/app.cc
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,9 @@ TStatusLine *TVTermApp::initStatusLine(TRect r)
r.b.y = r.a.y + 1;
TStatusLine *statusLine = new TStatusLine(r,
*new TStatusDef(hcDragging, hcDragging) +
*new TStatusItem("~Arrow~ Move", kbNoKey, 0) +
*new TStatusItem("~Shift-Arrow~ Resize", kbNoKey, 0) +
*new TStatusItem("~↑↓→←~ Move", kbNoKey, 0) +
*new TStatusItem("~Shift-↑↓→←~ Resize", kbNoKey, 0) +
*new TStatusItem("~Ctrl~ Move/Resize Faster", kbNoKey, 0) +
*new TStatusItem("~Enter~ Done", kbNoKey, 0) +
*new TStatusItem("~Esc~ Cancel", kbNoKey, 0) +
*new TStatusDef(hcInputGrabbed, hcInputGrabbed) +
Expand Down Expand Up @@ -156,12 +157,12 @@ void TVTermApp::openMenu()
*new TMenuItem("Previous Term", cmPrev, kbShiftTab, hcNoContext, "~Shift-Tab~") +
*new TMenuItem("Tile (Columns First)", cmTileCols, 'V', hcNoContext, "~V~") +
*new TMenuItem("Tile (Rows First)", cmTileRows, 'H', hcNoContext, "~H~") +
*new TMenuItem("Resize", cmResize, 'R', hcNoContext, "~R~") +
*new TMenuItem("Resize/Move", cmResize, 'R', hcNoContext, "~R~") +
*new TMenuItem("Maximize/Restore", cmZoom, 'F', hcNoContext, "~F~") +
newLine() +
( *new TSubMenu("~M~ore...", kbNoKey, hcMenu) +
*new TMenuItem("~C~hange working dir...", cmChangeDir, kbNoKey) +
newLine() +
*new TMenuItem("Maximi~z~e/Restore", cmZoom, kbNoKey) +
*new TMenuItem("C~a~scade", cmCascade, kbNoKey) +
*new TMenuItem("~G~rab Input", cmGrabInput, kbNoKey)
) +
Expand Down

0 comments on commit a097a4d

Please sign in to comment.