diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-04-30 06:46:14 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-04-30 06:46:14 +0300 |
commit | fed2b149aeb5c5cd692421602e0fe77ceffb8b28 (patch) | |
tree | 17e0c89314bd1267d10559f78a1bef78d97abdcf /src/app.c | |
parent | 5039199857ed0b1644a319d3cc514d63c3e3db45 (diff) |
Window: Moving tabs between splits
Diffstat (limited to 'src/app.c')
-rw-r--r-- | src/app.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1660,7 +1660,7 @@ iBool handleCommand_App(const char *cmd) { | |||
1660 | d->prefs.langTo = argLabel_Command(cmd, "to"); | 1660 | d->prefs.langTo = argLabel_Command(cmd, "to"); |
1661 | return iTrue; | 1661 | return iTrue; |
1662 | } | 1662 | } |
1663 | else if (equal_Command(cmd, "ui.frames")) { | 1663 | else if (equal_Command(cmd, "ui.split")) { |
1664 | d->window->pendingSplitMode = | 1664 | d->window->pendingSplitMode = |
1665 | (argLabel_Command(cmd, "axis") ? vertical_WindowSplit : 0) | (arg_Command(cmd) << 1); | 1665 | (argLabel_Command(cmd, "axis") ? vertical_WindowSplit : 0) | (arg_Command(cmd) << 1); |
1666 | return iTrue; | 1666 | return iTrue; |
@@ -2033,7 +2033,7 @@ iBool handleCommand_App(const char *cmd) { | |||
2033 | } | 2033 | } |
2034 | if (tabCount_Widget(tabs) == 0) { | 2034 | if (tabCount_Widget(tabs) == 0) { |
2035 | iAssert(isSplit); | 2035 | iAssert(isSplit); |
2036 | postCommand_App("ui.frames arg:0"); | 2036 | postCommand_App("ui.split arg:0"); |
2037 | } | 2037 | } |
2038 | else { | 2038 | else { |
2039 | arrange_Widget(tabs); | 2039 | arrange_Widget(tabs); |