git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] gitk: make Ctrl "+" really increase the font size

From
JSJohannes Schindelin <johannes.schindelin-mmb7mzphnfy@public.gmane.org>
Date
Jan 11, 2008, 12:39 UTC
Message-ID
<alpine.LSU.1.00.0801111238150.31053@racer.site>
In-Reply-To
<fm5oln$ahq$1@ger.gmane.org>

Only Ctrl "=" was bound to increase the font size, probably because English keyboards have the plus on the same key as the equal sign. However, not the whole world is English, and at least with some other keyboard layouts, Ctrl "+" did not work as documented.

Noticed by Stephan Hennig.
Signed-off-by: Johannes Schindelin <Johannes.Schindelin-Mmb7MZpHnFY@public.gmane.org>
---
	On Thu, 10 Jan 2008, Stephan Hennig wrote:
	> 
	> Hi,
	> 
	> reducing font size in gitk with CTRL-- works, but enlarging font 
	> size fails.  Typing CTRL-+ just doesn't have any effect here.
	This is no bug in msysgit, but in gitk.
	Paul, please apply.
 gitk |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/gitk b/gitk
index 1da0b0a..462f6aa 100644
--- a/gitk
+++ b/gitk
@@ -996,6 +996,7 @@ proc makewindow {} {
     bind . <$M1B-r> dosearchback
     bind . <$M1B-s> dosearch
     bind . <$M1B-equal> {incrfont 1}
+    bind . <$M1B-plus> {incrfont 1}
     bind . <$M1B-KP_Add> {incrfont 1}
     bind . <$M1B-minus> {incrfont -1}
     bind . <$M1B-KP_Subtract> {incrfont -1}
Next: Johannes Sixt
Message 1 of 7 in “gitk: make Ctrl "+" really increase the font size”
  1. gitk: make Ctrl "+" really increase the font sizeJohannes Schindelin, Jan 11, 2008
  2. Johannes SixtJan 11, 2008
  3. Julio Espinoza-SokalJan 11, 2008
  4. Johannes SchindelinJan 11, 2008
  5. Stephan HennigJan 14, 2008
  6. Johannes SchindelinJan 14, 2008
  7. Stephan HennigJan 15, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.