summaryrefslogtreecommitdiff
path: root/src/input_handler.cc
diff options
context:
space:
mode:
authorAmeer Ghani <inahga@gmail.com>2023-02-15 21:07:08 -0500
committerAmeer Ghani <inahga@gmail.com>2023-02-15 21:17:22 -0500
commit6acc18373d16e7531660a8e6d2c417f58a3d5a2d (patch)
tree1090e5ab8d1dc8392ae99fcf4543eb8e39807d71 /src/input_handler.cc
parentafaa47e93fb937fbedb60bcdbc768bb937108f86 (diff)
Add option to set maximum info box width
Some plugins (*cough* kak-lsp) and help texts tend to have immensely long content in a single line. This generates info boxes that span the entire terminal width. This is made especially worse on widescreen monitors or at small text size. This grants user control over how wide these boxes are. I deliberately avoid pushing this change to `kak-lsp` because it's not the only plugin that this could help--see the `hook` help text for an example of this problem in vanilla Kakoune. I would also suggest that since this is a rendering concern, it be handled by the terminal rendering logic.
Diffstat (limited to 'src/input_handler.cc')
0 files changed, 0 insertions, 0 deletions