diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-09-05 07:02:33 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-09-05 07:02:33 +0300 |
commit | aa50c1e0028c6cb08524dcdfb7188906c817e46f (patch) | |
tree | 1f5d91bef261612680d589e0481dad99ef189619 /src/ui/window.c | |
parent | de53b815e09a1004b8fb70706199fb840f53514a (diff) |
Option to force break very long lines
Even preformatted lines may need to be wrapped so the content remains visible, since there is no horizontal scrolling. However, this is off by default so ASCII art isn't broken in narrow windows.
Diffstat (limited to 'src/ui/window.c')
-rw-r--r-- | src/ui/window.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/window.c b/src/ui/window.c index b7b4a8fd..66f1c513 100644 --- a/src/ui/window.c +++ b/src/ui/window.c | |||
@@ -141,6 +141,8 @@ static const iMenuItem viewMenuItems[] = { | |||
141 | { "Zoom In", SDLK_EQUALS, KMOD_PRIMARY, "zoom.delta arg:10" }, | 141 | { "Zoom In", SDLK_EQUALS, KMOD_PRIMARY, "zoom.delta arg:10" }, |
142 | { "Zoom Out", SDLK_MINUS, KMOD_PRIMARY, "zoom.delta arg:-10" }, | 142 | { "Zoom Out", SDLK_MINUS, KMOD_PRIMARY, "zoom.delta arg:-10" }, |
143 | { "Reset Zoom", SDLK_0, KMOD_PRIMARY, "zoom.set arg:100" }, | 143 | { "Reset Zoom", SDLK_0, KMOD_PRIMARY, "zoom.set arg:100" }, |
144 | { "---", 0, 0, NULL }, | ||
145 | { "Wrap Preformatted", 0, 0, "forcewrap.toggle" } | ||
144 | }; | 146 | }; |
145 | 147 | ||
146 | static const iMenuItem helpMenuItems[] = { | 148 | static const iMenuItem helpMenuItems[] = { |