Skip to content

Instantly share code, notes, and snippets.

@penguin2716
Created October 4, 2011 01:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save penguin2716/1260719 to your computer and use it in GitHub Desktop.
Save penguin2716/1260719 to your computer and use it in GitHub Desktop.
invisible character patch for mikutter
--- core/mui/gtk_mtk.rb 2011-10-04 02:08:16.324056729 +0900
+++ core/mui/gtk_mtk.rb.new 2011-10-04 02:05:46.883627688 +0900
@@ -133,6 +133,7 @@
container = Gtk::HBox.new(false, 0)
input = Gtk::Entry.new
input.text = proc.call(nil)
+ input.invisible_char = "〄".encode("UTF-8").ord
input.visibility = visibility
container.pack_start(Gtk::Label.new(label), false, true, 0) if label
container.pack_start(Gtk::Alignment.new(1.0, 0.5, 0, 0).add(input), true, true, 0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment