summaryrefslogtreecommitdiff
path: root/Applications/Terminal/main.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-03-06 14:06:40 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-03-06 14:06:40 +0100
commit66a5ddd94a78818eb6a56b8aec6e1040171fc8ed (patch)
tree6b72baf79308539b2196271812ee9e2c6f06d278 /Applications/Terminal/main.cpp
parente53cef02d5a66591efb2d85f9ca576dcfe7a5421 (diff)
downloadserenity-66a5ddd94a78818eb6a56b8aec6e1040171fc8ed.zip
More work on the variable-width font support.
Katica is now the default system font, and it looks quite nice. :^) I'm gonna need to refine the GTextBox movement stuff eventually, but it works well-enough for basic editing now.
Diffstat (limited to 'Applications/Terminal/main.cpp')
-rw-r--r--Applications/Terminal/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Applications/Terminal/main.cpp b/Applications/Terminal/main.cpp
index 6bb0482efd..dfbc2fa6fa 100644
--- a/Applications/Terminal/main.cpp
+++ b/Applications/Terminal/main.cpp
@@ -108,7 +108,7 @@ int main(int argc, char** argv)
menubar->add_menu(move(app_menu));
auto font_menu = make<GMenu>("Font");
- GFontDatabase::the().for_each_font([&] (const String& font_name) {
+ GFontDatabase::the().for_each_fixed_width_font([&] (const String& font_name) {
font_menu->add_action(GAction::create(font_name, [&terminal] (const GAction& action) {
terminal.set_font(GFontDatabase::the().get_by_name(action.text()));
terminal.force_repaint();