diff --git a/doc/8-advanced/chanosc.md b/doc/8-advanced/chanosc.md index 720b550fe..6a2cd27ed 100644 --- a/doc/8-advanced/chanosc.md +++ b/doc/8-advanced/chanosc.md @@ -33,6 +33,7 @@ right-clicking the view will display the configuration view shown above: - `%v`: volume (decimal) - `%V`: volume (percentage) - `%b`: volume (hex) + - `%l`: new line - `%%`: percent sign click on OK to return to the main view. diff --git a/src/gui/chanOsc.cpp b/src/gui/chanOsc.cpp index 9a4d38af9..ae568107f 100644 --- a/src/gui/chanOsc.cpp +++ b/src/gui/chanOsc.cpp @@ -348,6 +348,7 @@ void FurnaceGUI::drawChanOsc() { "- %v: volume (decimal)\n" "- %V: volume (percentage)\n" "- %b: volume (hex)\n" + "- %l: new line\n" "- %%: percent sign" ); ImGui::EndTooltip(); @@ -751,6 +752,10 @@ void FurnaceGUI::drawChanOsc() { text+=fmt::sprintf("%s",noteName(noteMod,oct)); break; } + case 'l': { + text+="\n"; + break; + } case '%': text+='%'; break;